Unable to Access webservice from a mobile web browser

99 views Asked by At

I am new to webservices and I am creating an android application that will send and recieve data from a webservice. I have created a REST webservice in Eclipse using Java. I have used Tomcat server. I am running the webservice on my localhost (Dell laptop with Windows 10 OS).

When i am running the webservice and providing data on my localhost, the service is Returning JSON data successfully but when I am trying to access the same service from my smartphone's chrome browser, its showing ERR_CONNECTION_TIMED_OUT.

Note: Both devices are connect to same network. (I am using MTS blaze)

Things I have tried till now,

  1. Enabled ICMP in firewall settings
  2. Turned off firewall
  3. Uninstalled Mcafee

But no success. Let me know if more information is required to solve this issue.

Edit1: Url on localhost: localhost:8080/Credentials/register/doregister?user=abc&pass=efg

Url when accessing from smartphone: 192.168.1.100/Credentials/register/doregister?user=abc&pass=efg

0

There are 0 answers