端口占用解决

查询端口占用的情况:    $ lsof -i:端口号  
然后把端口对应的进程关掉:
$ kill -9 [UID]
 
原文地址:https://www.cnblogs.com/abc1997/p/14939933.html