美文网首页
关闭mac上本地端口服务

关闭mac上本地端口服务

作者: Allan要做活神仙 | 来源:发表于2018-03-06 21:10 被阅读749次

    Find out the process ID (PID) which is occupying the port number (e.g., 5955) you would like to free

    sudo lsof -i :5955
    

    Kill the process which is currently using the port using its PID

    sudo kill -9 PID
    

    相关文章

      网友评论

          本文标题:关闭mac上本地端口服务

          本文链接:https://www.haomeiwen.com/subject/idarfftx.html