Failed to start devlopment server — BindError: Unable to find a consistent port localhost

前端 未结 7 2209
逝去的感伤
逝去的感伤 2020-12-03 23:13

Google-app-engine development server runs great yesterday, but when I try to start it today. It only shout out this Error.

I tried use lsof -i:8080 / <

7条回答
  •  情话喂你
    2020-12-03 23:45

    I solved this issue by passing an explicit api port to dev_appserver.py:

    dev_appserver.py path/to/project --api_port 3000
    

    I was unable to solve the issue by editing the hosts file or passing --port / --host to dev_appserver.py.

    I didn't identify the root cause.

提交回复
热议问题