How to connect to localhost: 8888 from another device on the same network?

I am trying to test my application that I am developing using the Google AppEngine application.

When I want to test the computer that I use to develop the application ("localhost: 8888" in my browser), everything works fine.

But when I want to check it in the browser of the Android device using "192.168.5.194:8888" (the local IP address of the computer), it gives me nothing (it just tries to connect to the site unconvincingly).

So, my computer and my browser are on the same local network. Win7 is running on the computer. I am using eclipse (Kepler) for development.

Your help is appreciated.

+4
source share
2 answers

In the documentation , there is a host parameter in the command line arguments.

You can run a local environment, for example ./dev_appserver --host=0.0.0.0

You need to replace 0 with your actual network IP, something like 192.168.0.42that can be found using the command ifconfigin linux all mac terminal, ipconfigfor Windows.

If you visit your actual IP address from your favorite browser, for example, 192.168.0.42:8080on port 8080, if you did not install it manually, you can access the local computer from any browser on the network.

, . , Linux, - .

+3

App Engine: --host=0.0.0.0

+3

All Articles