cancel
Showing results for 
Search instead for 
Did you mean: 

iPhone App Uses Private IP

carnold
Champ on-the-rise
Champ on-the-rise
Alfresco 4.2c community on SLEs 11 SP2. iPhone 5 with latest alfresco app. I entered the public ip on the app and can connect to the site. The problem is when i tap documents and then the site -> does connect and reports in red connection failure. Alfresco mobile did not connect to 192.168.123.x. Well of course that will not connect. That is a private ip and i am using the alfresco app on lte. When i connect to the wi-fi, i have no problems accessing the documents. So, how do i tell the mobile app to use public ip and not private ip? Since there is no seen way to do this on the mobile app, i assume this has to be done on the alfresco server on a file. Is this correct and if so, what file?
1 REPLY 1

carnold
Champ on-the-rise
Champ on-the-rise
I dont have anything in the server error log, of course (because a non-rotable ip is trying to route out to the internet). I do have some access logs from the server:
166.147.121.169 - - [28/Jul/2013:20:59:55 -0400] "GET /alfresco/service/cmis HTTP/1.1" 200 33255 "-" "Alfresco 1.5.1 rv:87 (iPhone; iPhone OS 6.1.4; en_US)"
166.147.121.169 - - [28/Jul/2013:20:59:56 -0400] "GET /alfresco/service/api/workflow-definitions HTTP/1.1" 200 3166 "-" "Alfresco 1.5.1 rv:87 (iPhone; iPhone OS 6.1.4; en_US)"
166.147.121.169 - - [28/Jul/2013:20:59:56 -0400] "GET /alfresco/service/api/people/<removed>/preferences?pf=org.alfresco.share.sites HTTP/1.1" 200 80 "-" "Alfresco 1.5.1 rv:87 (iPhone; iPhone OS 6.1.4; en_US)"
166.147.121.169 - - [28/Jul/2013:20:59:56 -0400] "GET /alfresco/service/api/sites?format=json HTTP/1.1" 200 1605 "-" "Alfresco 1.5.1 rv:87 (iPhone; iPhone OS 6.1.4; en_US)"
166.147.121.169 - - [28/Jul/2013:20:59:56 -0400] "GET /alfresco/service/api/invitations?inviteeUserName=<removed> HTTP/1.1" 200 24 "-" "Alfresco 1.5.1 rv:87 (iPhone; iPhone OS 6.1.4; en_US)"
166.147.121.169 - - [28/Jul/2013:20:59:56 -0400] "GET /alfresco/service/api/classes/dp_restrictable HTTP/1.1" 404 3763 "-" "Alfresco 1.5.1 rv:87 (iPhone; iPhone OS 6.1.4; en_US)"
166.147.121.169 - - [28/Jul/2013:20:59:59 -0400] "GET /alfresco/service/api/people/<removed>/sites HTTP/1.1" 200 504 "-" "Alfresco 1.5.1 rv:87 (iPhone; iPhone OS 6.1.4; en_US)"
166.147.121.169 - - [28/Jul/2013:21:00:05 -0400] "GET /alfresco/service/api/node/workspace/SpacesStore/4f6ead46-276d-4f38-9103-a5c9f25984d5/children?includeAllowableActions=true HTTP/1.1" 200 9469 "-" "Alfresco 1.5.1 rv:87 (iPhone; iPhone OS 6.1.4; en_US)"
166.147.121.169 - - [28/Jul/2013:21:00:05 -0400] "GET /alfresco/service/api/node/workspace/SpacesStore/4f6ead46-276d-4f38-9103-a5c9f25984d5/children?includeAllowableActions=true HTTP/1.1" 200 9469 "-" "Alfresco 1.5.1 rv:87 (iPhone; iPhone OS 6.1.4; en_US)"

This has all the makings of the mobile app using the private ip of the server but what file on the server contains this?
Getting started

Tags


Find what you came for

We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.