Alfresco - hostname value seems to be wrong

cancel
Showing results for 
Search instead for 
Did you mean: 
dev7
Member II

Alfresco - hostname value seems to be wrong

I installed Alfresco. Tomcat is a webserver that is used by Alfresco to provide an access to the web-panel. Default ip is: 127.0.0.1:8080/share And now I want to get an access from mobile android. How can I get an access from mobile phone to alfresco server?

I try this:

  1. to use this ip in browser on phone 192.168.1.111:8080/share
  2. to use this ip in browser on phone http://192.168.1.111:8080/share
  3. to use this ip in browser on phone https://192.168.1.111:8080/share
  4. to use this ip in browser on phone 192.168.1.111:8080/share/page
  5. to use this ip in browser on phone 192.168.1.111:8080/alfresco

but I get error

 your hostname value seems to be wrong...

I also turn on on mobile hot spot, change on computer turn off windows firewall,turn on network discovery...

My alfresco-global.properties is set like:

 alfresco.context=alfresco  alfresco.host=127.0.0.1 alfresco.port=8080 alfresco.protocol=http   share.context=share  share.host=127.0.0.1 share.port=8080 share.protocol=http

but still get

your hostname value seems to be wrong...

I use alfresco version 5...

Any idea?

1 Reply
afaust
Master

Re: Alfresco - hostname value seems to be wrong

First of all, the properties "alfresco.host" and "share.host" are only used for generating links in emails and not used defining the host name rewrites of the web application.

Second of all, 127.0.0.1 is not a very useful IP address / host name. It refers to the localhost and by using that in any URL (generated or rewritten) you would ensure that Alfresco will only work on the system it is installed on and cannot / may not be accessed from anywhere else.

Third of all, if you want Alfresco to be accessible from a mobile device you need to either a) have the mobile device be part of the network that hosts the Alfresco server and thus can resolve the IP 192.168.1.111 or b) have the Alfresco server be publicly accessible via a public address from the Internet so the mobile can use that to access Alfresco.