cancel
Showing results for 
Search instead for 
Did you mean: 

Change the IP-Adress for Alfresco

joersch21
Champ in-the-making
Champ in-the-making
Hello,

I want to change the IP-Adress for Alfresco, but I do not found the corresponding file. I need your help.
4 REPLIES 4

mruflin
Champ in-the-making
Champ in-the-making
Do you mean the Port on which Alfresco is running?

Check the file <alfresco installation>/tomcat/conf/server.xml, search for "<Connector port=" inside the file.

Michael

joersch21
Champ in-the-making
Champ in-the-making
Thanks, but I want to change the ip adress from 127.0.0.1:8080 to xxx.xxx.xxx.xxx  (another one)

mruflin
Champ in-the-making
Champ in-the-making
This has nothing to do with Alfresco.

127.0.0.1 is the local loop IP address which points to your local computer. Check with ipconfig (or similar tool for non Windows OS) to see what adress your computer has…

For example I get:

Ethernet adapter Wireless Network Connection:

        Connection-specific DNS Suffix  . :
        IP Address. . . . . . . . . . . . : 192.168.1.45
        Subnet Mask . . . . . . . . . . . : 255.255.255.0
        Default Gateway . . . . . . . . . : 192.168.1.1

So my IP adress is 192.168.1.45.

To use alfresco from other computers, use this address instead of 127.0.0.1. Of course this only works in your local network…

Anyway, for more information about networks, IP addresses and such you should better check Wikipedia information on these topics, network forums or a good book about networks. This question is not related to Alfresco at all…

Hth,
Michael

rivetlogic
Champ on-the-rise
Champ on-the-rise
Hi,

The ip address you bind to is set depending on which app server you are using.

In Tomcat, each Connector element allows an address property. For example:
<Connector className="org.apache.coyote.tomcat4.CoyoteConnector"
           address="192.168.1.1"
           port="8080" minProcessors="5" maxProcessors="75"
           enableLookups="true" redirectPort="8443"
           acceptCount="100" debug="0" connectionTimeout="20000"
           useURIValidationHack="false" disableUploadTimeout="true" />
In Jboss, you can run it using:
run.bat -b 192.168.1.1   (windows)
run.sh  -b 192.168.1.1   (unix)
Hope this helps,

–Aladdin