Cannot access by IP ADDRESS

cancel
Showing results for 
Search instead for 
Did you mean: 
dhruv_siwach
Active Member

Cannot access by IP ADDRESS

Jump to solution

I have encountered a strange issue after installation of Alfresco community edition. My issue is i can access the software by http://localhost:8080/alfresco/  but when i try to open it by ip address http://192.168.1.100:8080/alfresco/ and if i cannot access it by ip address than how can i access it on client PC ? Please help i have been stuck in this loop for almost two weeks now.

Please note im a newbie at this sort of thing may be i missed out on something.

Alfresco Community Edition - 5.2.0

Windows Server 2016

IIS 10

1 Solution

Accepted Solutions
dhruv_siwach
Active Member

Re: Cannot access by IP ADDRESS

Jump to solution

I got this sorted out on my own, I am gonna post the solution which worked for me.

1. Open server.xml file (alfresco/tomcat/conf/server.xml)

2. Add these two lines here:

<Connector port="8080" protocol="HTTP/1.1"
connectionTimeout="20000"
URIEncoding="UTF-8"
address="0.0.0.0"
useIPVHosts="true"
redirectPort="8443" />

3. Add this line here:

<Valve className="org.apache.catalina.valves.AccessLogValve" directory="logs"
prefix="localhost_access_log." suffix=".txt"
resolveHosts="true"
pattern="%h %l %u %t &quot;%r&quot; %s %b" />

4.Open alfresco-global.properties file (alfresco\tomcat\shared\classes\alfresco-global.properties)

5.Change alfresco.host=localhost

6.Change share.host=localhost

 

This worked for me and also please check port for tomcat is not used by any other application (in my case 8080) and also ensure the port is not blocked by firewall.

View solution in original post

1 Reply
dhruv_siwach
Active Member

Re: Cannot access by IP ADDRESS

Jump to solution

I got this sorted out on my own, I am gonna post the solution which worked for me.

1. Open server.xml file (alfresco/tomcat/conf/server.xml)

2. Add these two lines here:

<Connector port="8080" protocol="HTTP/1.1"
connectionTimeout="20000"
URIEncoding="UTF-8"
address="0.0.0.0"
useIPVHosts="true"
redirectPort="8443" />

3. Add this line here:

<Valve className="org.apache.catalina.valves.AccessLogValve" directory="logs"
prefix="localhost_access_log." suffix=".txt"
resolveHosts="true"
pattern="%h %l %u %t &quot;%r&quot; %s %b" />

4.Open alfresco-global.properties file (alfresco\tomcat\shared\classes\alfresco-global.properties)

5.Change alfresco.host=localhost

6.Change share.host=localhost

 

This worked for me and also please check port for tomcat is not used by any other application (in my case 8080) and also ensure the port is not blocked by firewall.