cancel
Showing results for 
Search instead for 
Did you mean: 

To run Alfresco in a different port other than 8080

gawabe
Champ in-the-making
Champ in-the-making
Hi..
I am using alfresco 3.3g community edition.
Alfresco share and web client works fine when I run them using the tomcat port 8080.

But when I tried with a different tomcat port (say: 8010) other than 8080,
(1) My web client was successfully connected and I can able to log in using http://localhost:8010/alfresco
(2) But when I tried to login through share, I get "Remote server may be unavailable or your authentication details have not been recognized" error.

I found few URL's regarding this port number change. They asked us to change few wsdl and xml file to have this new port(say: 8010).. But due to alfresco updations, I found many files missing.

Can anyone say me the exact files to be changed in 3.3g, so that I can run my alfresco share and web client in a different port (say: http://localhost:8010/share)?
4 REPLIES 4

ssaravanan
Champ in-the-making
Champ in-the-making
With alfresco3.3g you can change the port settings under
the tomcat/shared/classes/alfresco-global.properties file
look for the following settings
#
# URL Generation Parameters (The ${localname} token is replaced by the local server name)
#————-
#alfresco.context=alfresco
#alfresco.host=${localname}
#alfresco.port=8080
#alfresco.protocol=http
#
#share.context=share
#share.host=${localname}
#share.port=8080
#share.protocol=http

if you have share running on a different server then you might need to edit the
tomcat/shared/classes/alfresco/web-extension/share-config-custom.xml to configure the
remote alfresco server

gawabe
Champ in-the-making
Champ in-the-making
Thanks for a quick response. I will look through it…

ssaravanan
Champ in-the-making
Champ in-the-making
or you can configure tomcat/conf/server.xml to listen to additional ports say eg. 8081

<Connector port="8081" protocol="HTTP/1.1" URIEncoding="UTF-8"
               connectionTimeout="20000"
               redirectPort="8443" />

gawabe
Champ in-the-making
Champ in-the-making
Thanks.. it worked for me.. Smiley Happy