How to access the localhost of a xampp server of a pc by means of the mobile [duplicated]

-2

Good morning. I hope your help to a situation with my mobile and the pc where I do tests, I try to get the server to display xampp of my pc on the mobile by means of chrome, but this shows me the error of "192.168.xx took too much in responding. " Where I enter the local ip of my pc, install an app on my phone called "ES File Explorer" to check the communication between the two devices and I had no problem, only with the Chrome browser. Thanks.

    
asked by Juan Jose Osuna 08.06.2017 в 00:51
source

1 answer

0

You could try some things because if the program in web environment you have generated is in the locahost you should not have problems if you point to the IP of the pc where you develop:

  • Check that the Ip's of both devices (pc and android) are static.
  • Have a ping from your PC to the device to see if you have an answer.
  • Verify the port of your application. It could be that your application is in a specific port like: 80 or: 8080, thus: localhost: 80 / my_application /
  • Try to get to the app from another local device.

So you could go discarding problems.

I hope my answer will be good, greetings.

    
answered by 08.06.2017 в 01:00