Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I have 3 iMacs and a Windows machine on my home network, all connected via an Airport Extreme router. I'm developing Google App Engine applications locally on one of the iMacs, and can view applications using http://localhost:8080 (or whatever port I choose).

How do I connect to those applications from other iMacs and Windows machines in my network? I've located the IP for the iMac hosting Google App Engine: 10.0.1.7. But when I try http://10.0.1.7:8080 from another machine it will not load the page.

share|improve this question

migrated from serverfault.com Feb 9 '11 at 20:58

This question came from our site for professional system and network administrators.

    
Please read our FAQs next time. –  Chopper3 Feb 9 '11 at 20:58
    
Can you link this to my account? –  Will Merydith Feb 9 '11 at 21:40

3 Answers 3

See docs for the --address option here: http://code.google.com/appengine/docs/python/tools/devserver.html

Basically:

  1. On the machine running appengine: Open System Preferences > Network and write down the IP (eg. 1.2.3.4)
  2. Use this IP with the address option, ie. "--address 1.2.3.4", when you launch the dev appserver.
  3. Visit http://1.2.3.4:8080/ from any machine in your local network.
share|improve this answer
    
Thank you! you saved me lots of time ! –  Igor Konoplyanko Mar 29 '11 at 22:59
    
Sorry I did not see this in time to mark it as the answer. It worked! –  Will Merydith Apr 16 '11 at 3:41

For those of you finding this page but are running App Engine 1.7.6 or newer, use

--host=0.0.0.0

instead of

--address 0.0.0.0

A big update in the Development Server resulted in a large number of options being changed or removed (all shortened flags were removed), as well as python 2.5 support being killed. On the upside, the admin host/port can also be changed with

--admin_host=0.0.0.0 --admin_port=8000

https://developers.google.com/appengine/docs/python/tools/old_devserver

share|improve this answer

Use the --address option to bind to all addresses:

dev_appserver --address 0.0.0.0 my_app

This will then work from anywhere. The default is to bind to a loopback address only (127.0.0.1).

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.