You have to edit a couple of things when you want multiple instances of Alfresco running on the same machine

1. Modify Alfresco and FTP port in ({alfresco}/tomcat/shared/classes/ This is done so that Alfresco internal knows how to connect to itself. web.application.context.url; modify the port number, 8080 in the example above, to something other than 8080 or the default port any other instance are using. Then change the FTP port used by Alfresco ### FTP Server Configuration ### ftp.enabled=true ftp.port=21 ftp.ipv6.enabled=false Ensure this does not conflict with other ports, for more information about ports see


2. Modify services port in ({alfresco}/tomcat/shared/classes/

< avm.rmi.service.port=0 avmsync.rmi.service.port=0 attribute.rmi.service.port=0 authentication.rmi.service.port=0 repo.rmi.service.port=0 action.rmi.service.port=0 deployment.rmi.service.port= The "0" means it's the default value, but you have to set the to 50500.So it actually looks like avm.rmi.service.port=50501 avmsync.rmi.service.port=50502 attribute.rmi.service.port=50503 authentication.rmi.service.port=50504 repo.rmi.service.port=50505 action.rmi.service.port=50506 deployment.rmi.service.port=50507

You will have to make sure that this is different for each instance of Alfresco and make sure that it is not conflicting with other ports that are set. For more information about ports see


3. Modify Alfresco Internal ports (connector and shutdown ports) in server.xml ({alfresco}/tomcat/conf/server.xml)

<Connector port="8080" URIEncoding="UTF-8" protocol="HTTP/1.1" connectionTimeout="20000" redirectPort="8443"/> <Server port="8005" shutdown="SHUTDOWN">

Server port can be changed to 8006. Again, make sure that this is different for each instance of Alfresco and make sure that it is not conflicting with other ports that are set.


4. Modify Share config to use the same ports in share-config-custom.xml ({alfresco}/tomcat/shared/classes/alfresco/web-extension/share-config-custom.xml)

<config evaluator="string-compare" condition="Remote">  <remote>   <endpoint>    <id>alfresco-noauth    <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    <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>


5. Modify VTI service port in

({alfresco}/tomcat/shared/classes/alfresco/extension/ vti.server.port=7070


6. Modify Lotus service port in

({alfresco}/tomcat/shared/classes/alfresco/extension/ # Custom Lotus Quickr configuration lotus.server.port=6060


*One last note, for the settings with the tags, there is an extra space so that the browser would not think its an html tag. Please keep a note of this if you are copying and pasting. If there is anything I have missed please let me know and I will add it on to this list. I also want to hear your comments please!

Read Next
Appnovation Blog Default Header

Best Way to Embed a Youtube Video on a Mobile Website

13 July, 2011|3 min