NoKey
V2EX  ›  macOS

mbp 10.15 idea 运行 web 服务提示端口被占用

  •  
  •   NoKey · Feb 28, 2020 · 1733 views
    This topic created in 2291 days ago, the information mentioned may be changed or developed.

    我后悔啊,不该升 10.15 啊,各种问题啊。。。

    idea 之前都是好的

    今天运行 web 服务,提示端口占用

    Address localhost:20991 is already in use

    Unable to open debugger port (127.0.0.1:53112): java.net.SocketException "Socket closed"

    看,我已经把端口从 1099 改到 20991 了,都不行

    我查了端口,没有进程占用

    重启电脑也不行。。。

    求大佬救救。。。现在啥也干不了了

    2 replies    2020-03-02 09:52:02 +08:00
    chendy
        1
    chendy  
       Feb 28, 2020
    lsof -i:20991 看看是哪个进程,确定没问题 kill 掉
    (感觉像是程序或者环境的问题启动了两次…
    NoKey
        2
    NoKey  
    OP
       Mar 2, 2020
    @chendy 找到问题了,不是系统问题,是我自己设置了 host 造成的。。。
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   2767 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 36ms · UTC 11:54 · PVG 19:54 · LAX 04:54 · JFK 07:54
    ♥ Do have faith in what you're doing.