Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

I am running google app engine locally and it runs on port 8080. I can access it from the browser using 'localhost:8080' or '127.0.0.1:8080'. But I cannot access it using the ip of the machine even locally. Any pointers?

Update:Solved it by binding the ip to 0.0.0.0

share|improve this question

1 Answer 1

up vote 1 down vote accepted

the software must be binding directly to 127.0.0.1. You can not connect to it on any other address, even if it is on the same machine.

You might be able to reconfigure it to listen on 0.0.0.0, but that may open you up to security risks.

share|improve this answer
    
Thanks. I want to access this from another machine in the intranet. Using the ip does not work. I am running on windows and have disabled the firewall. Also have checked the open ports using netstat and it says 8080 is listening. Any pointers? –  abhirama Mar 6 '10 at 5:46
    
I gave you a pointer, but apparently you need someone to read the docs for you... code.google.com/appengine/docs/python/tools/… --address=... The host address to use for the server. You may need to set this to be able to access the development server from another computer on your network. An address of 0.0.0.0 allows both localhost access and hostname access. Default is localhost. –  Justin Mar 6 '10 at 6:24

Your Answer

 
discard

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