Changing Default Port Configuration

Document created by resplin Employee on Jun 6, 2015
Version 1Show Document
  • View in full screen mode

Obsolete Pages{{Obsolete}}

The official documentation is at: http://docs.alfresco.com



configuration
Labs

With some installations, the alfresco default port shall be moved from port 8080. This works fine with the Alfresco Explorer, but may break the Alfresco Share authentication application with the error 'Unable to retrieve License information from Alfresco'.


Alfresco Share


To configure Alfresco Share to use a different host or port number.

For tomcat installations, first ensure catalina.properties is configured as per Install_Tomcat6

In the file tomcat/shared/classes/alfresco/web-extension/share-config-custom.xml



  1. Remove the begin and end comment lines and --> surrounding this section

       <config evaluator='string-compare' condition='Remote'>
          <remote>
             <endpoint>
                <id>alfresco-noauth</id>
                <name>Alfresco - unauthenticated access</name>
                <description>Access to Alfresco Repository WebScripts that do not require authentication</description>
                <connector-id>alfresco</connector-id>
                <endpoint-url>http://localhost:8080/alfresco/s</endpoint-url>
                <identity>none</identity>
             </endpoint>

             <endpoint>
                <id>alfresco</id>
                <name>Alfresco - user access</name>
                <description>Access to Alfresco Repository WebScripts that require user authentication</description>
                <connector-id>alfresco</connector-id>
                <endpoint-url>http://localhost:8080/alfresco/s</endpoint-url>
                <identity>user</identity>
             </endpoint>

             <endpoint>
                <id>alfresco-feed</id>
                <name>Alfresco Feed</name>
                <description>Alfresco Feed - supports basic HTTP authentication via the EndPointProxyServlet</description>
                <connector-id>http</connector-id>
                <endpoint-url>http://localhost:8080/alfresco/s</endpoint-url>
                <basic-auth>true</basic-auth>
                <identity>user</identity>
             </endpoint>
          </remote>
       </config>


  2. Change all ports from 8080 to the desired port.

Links


Alfresco Forum Entry

Attachments

    Outcomes