anirudh anirudh - 7 months ago 43
Python Question

"Unable to bind localhost:8000" error while running sample application in google app engine

I have just installed GAE launcher and am trying to run a sample application to make sure it works and I am getting the below error.

raise BindError('Unable to bind %s:%s' % self.bind_addr) Unable to bind localhost:8000
2014-03-24 10:54:54 (Process exited with code 1)

I am trying to run the python version of the app with python 2.7 and am using windows 8.1 operating system. I did not create any files for the app, I just created a new application and am trying to run it in localhost.

Can someone please tell me what this error means and how to fix it?


Another process is already bound to port 8000. Use netstat -an or netstat -anb or similar to investigate. It may be another instance of your development server.

Edit: If port 8000 is really occupied, Command-line arguments in the The Python Development Server says you can append --admin_port to change the 8000 to another free port.