![workerman 7272端口被占用 workerman 7272端口被占用](https://image.shishitao.com:8440/aHR0cHM6Ly9ia3FzaW1nLmlrYWZhbi5jb20vdXBsb2FkL2NoYXRncHQtcy5wbmc%2FIQ%3D%3D.png?!?w=700&webp=1)
1/问题:workerman 7272端口被占用
2/策略:
1.查找被占用的端口
- netstat -tln
- netstat -tln | grep 8083
netstat -tln 查看端口使用情况,而netstat -tln | grep 8083 则是只查看端口8083的使用情况
2.查看端口属于哪个程序?端口被哪个进程占用
- lsof -i :8083
3.杀掉占用端口的进程
- kill -9 进程id
转自:http://taoistwar.iteye.com/blog/701704
3/解决办法: