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

前端 未结 7 2199
逝去的感伤
逝去的感伤 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-04 00:02

    This can be caused by multiple entries in your hosts file for 'localhost'.

    For example in file /etc/hosts:

    127.0.0.1 localhost
    127.0.0.1 mymachinename localhost
    

    if you delete all mappings but one for localhost, the problem will hopefully be resolved.

    127.0.0.1 mymachinename localhost
    

    This is a known issue and as far as I understand it will be corrected in a future release.

提交回复
热议问题