Search code examples
google-app-enginelauncher

How to change the admin port using the Google App engine launcher?


It's easy to change the port of the application using the launcher. Go to Edit>>Application Settings (or alternatively Ctrl+i) and change the port. Since I was getting an error similar to the one given below, I changed the application port from 8080 to 48080. Unfortunately, I am not able to change the admin port from 8000 to 48000, because of which I am getting the following error.

google.appengine.tools.devappserver2.wsgi_server.BindError: Unable to bind localhost:8000

I also tried the method illustrated in the following image (my reference being this link): enter image description here

Regardless of what I try, my web-browsers (Chrome and Firefox) return a message similar to This webpage is not available. Any ideas are appreciated.


Solution

  • I have seen this before, when I had a crashed instance running on the port. You may have a frozen Python script running on that port. On a Mac, I can go to Activity Monitor and kill the process. Not sure if you can do that via task manager in Windows. You may need to restart machine.