GAE - BindError: Unable to bind localhost: 8080

I am testing the Google app for the Google App Google following the steps in the Getting Started section.

When I try to run the application on the local host from the Windows startup window, it waits about 5 seconds, and then displays a yellow exclamation mark. Logs give an error:

google.appengine.tools.devappserver2.wsgi_server.BindError: unable to bind localhost: 8080

What causes this error?

+4
source share
2 answers

I ran netstat -aon and saw that port 0.0.0.0:8080 already in use by another process. I changed the setup of the Facebook app and the GAE settings to point to localhost:8888 instead, and it works!

+1
source

This command will help you remove the process using port : 8002 without exception.

lsof -P | grep ': 8002' | awk '{print $ 2}' | xargs kill -9

+9
source

Source: https://habr.com/ru/post/1485331/


All Articles