程序运行端口占用解决方案

端口占用解决方案

1.查看端口状态

lsof -i:端口号

2.杀掉该进程

kill -9 占用端口的程序id

 

原文地址:https://www.cnblogs.com/859630097com/p/14590565.html