Page 1 of 1
unable to connect to local server(localhost) form appery
Posted: Thu Dec 03, 2015 5:40 pm
by A K R
Hi,
in my app, i want to use my laptop as a server or backend.(local host)
so my url will be like http://10.10.150.222/api/abc/xyz
i tried to do this from postman in chrome and it worked, but from appery service test its failing. it says connection time out error.
so how can i acheive this
Thanks in advance
unable to connect to local server(localhost) form appery
Posted: Thu Dec 03, 2015 8:17 pm
by Serhii Kulibaba
Hello,
You can use local servers on real devices, but they are not available from the internet, so Appery.io can't get access to them too.
unable to connect to local server(localhost) form appery
Posted: Sun Dec 06, 2015 6:31 am
by A K R
i got an idea please help whether it will work or not ?
if i copy and paste my apk in localhost or in my laptop will my app work and will it ping to localhost.
unable to connect to local server(localhost) form appery
Posted: Sun Dec 06, 2015 6:38 am
by A K R
Hi,
I know you guys are expert in this field but Please check with your team and let me know its very important for me.
i have to ping my localhost from apk
i gone through the following links and i wanted to comment there but its not allowing to share my idea there because i think its an closed issue
https://getsatisfaction.com/apperyio/...
https://getsatisfaction.com/apperyio/...
unable to connect to local server(localhost) form appery
Posted: Sun Dec 06, 2015 6:05 pm
by Illya Stepanov
You can't ping local host from the mobile app - it is not a server app and local host address can't be reached from the mobile app as it is not available in the internet.
unable to connect to local server(localhost) form appery
Posted: Wed Dec 09, 2015 1:15 pm
by Mahendra Panneeru
I have one doubt, can I ping local host from native app platforms ?
This issue in in appery io or other platforms also.Please give me some suggestions
unable to connect to local server(localhost) form appery
Posted: Wed Dec 09, 2015 1:31 pm
by Illya Stepanov
In Appery.io you are starting with HTML5 app and you can export it as a binary package to mobile platforms using Cordova, as the result will be so called Hybrid app.
Native apps are outside the scope of our support -- Please search online for appropriate solution.