cancel
Showing results for 
Search instead for 
Did you mean: 

How to Define Alfresco Port Number

joel18
Champ in-the-making
Champ in-the-making
Hello, everyone.
    Can somebody tell me how to change the port number of Alfresco. As the default port number of Alfresco is 8080, I hope to change 8080 to 8088. If I changed the port number, I'd input the url(http://localhost:8088/alfresco) and Alfresco page would be displayed.
    Would you like to tell me how to solve this problem? Thank you very much. :lol:
8 REPLIES 8

mikeh
Star Contributor
Star Contributor
It's a Tomcat setting in server.xml

Thanks,
Mike

joel18
Champ in-the-making
Champ in-the-making
However in server.xml, I have changed the port to 8088 such as follows:

<!– Define a non-SSL HTTP/1.1 Connector on port 8080 –>
    <Connector port="8088" URIEncoding="UTF-8" maxHttpHeaderSize="8192"
               maxThreads="150" minSpareThreads="25" maxSpareThreads="75"
               enableLookups="false" redirectPort="8443" acceptCount="100"
               connectionTimeout="20000" disableUploadTimeout="true" />

However, when I start Alfresco. It doesn't work. I got this information:

Initializing Coyote HTTP/1.1 on http-8080

What is the reason? I can't solve this problem.

roman
Champ in-the-making
Champ in-the-making
sorry it sounds dumb, but did you changed the server.xml
of the right tomcat? or do yo start the right tomcat.

<Connector port="8088" URIEncoding="UTF-8" maxHttpHeaderSize="8192"…
is the right way to make tomcat listen on 8088…

:?

joel18
Champ in-the-making
Champ in-the-making
Thank you very much.
But I changed the right tomcat and restart it.
But there is no any difference. Smiley Sad

roman
Champ in-the-making
Champ in-the-making
hmm this is very strange….
i also have my tomcat runnin on 9080 and there is really no problem
sorry have no idea
tell me when you find the problem  :?

joel18
Champ in-the-making
Champ in-the-making
I have solved this problem. Because I haven't changed the Alfresco.bat. After I have relocated the Alfresco file and restarted it, everything is well. Now port number is 8088.
Thank you for your kindness.

ced
Champ in-the-making
Champ in-the-making
Hello,

There are some other files in Alfresco that uses the url to the application (wsdl files and file-server.xml for instance).
Should these files be modified too, or Alfresco can dynamically change this address ?

roman
Champ in-the-making
Champ in-the-making
it's not the task of alfresco, it's the job of tomcat
tomcat runs the application on localhost:8080/alfresco/
the other content is relative to this url

best regards