A K R
Posts: 0
Joined: Mon Sep 22, 2014 6:06 am

unable to connect to local server(localhost) form appery

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

Serhii Kulibaba
Posts: 150
Joined: Tue Aug 27, 2013 1:47 pm

unable to connect to local server(localhost) form appery

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.

A K R
Posts: 0
Joined: Mon Sep 22, 2014 6:06 am

unable to connect to local server(localhost) form appery

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.

A K R
Posts: 0
Joined: Mon Sep 22, 2014 6:06 am

unable to connect to local server(localhost) form appery

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/...

Illya Stepanov
Posts: 0
Joined: Mon Mar 18, 2013 8:48 am

unable to connect to local server(localhost) form appery

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.

Mahendra Panneeru
Posts: 0
Joined: Fri Sep 18, 2015 10:00 am

unable to connect to local server(localhost) form appery

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

Illya Stepanov
Posts: 0
Joined: Mon Mar 18, 2013 8:48 am

unable to connect to local server(localhost) form appery

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.

Return to “Issues”