当前位置: 动力学知识库 > 问答 > 编程问答 >

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):

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.

网友答案:

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.

分享给朋友:
您可能感兴趣的文章:
随机阅读: