I have nodejs/expressjs in my localhost, expressjs as rest API, return json file into client (android device).I am using Ionic 2 to build android app. I have been success access to localhost from android device if using Apache and PHP. in Apache.conf I set like this:
<Directory />
Allow from all
</Directory>
Turn off firewall, and working perfectly
With nodejs/expressjs :
I build app and install it into android device, and try connect always failed, error connection. but if i use chrome browser in android with address 192.168.xx.x:8100 working perfect. how to solve this?
via sembilanlangit
No comments:
Post a Comment