Port xxxxx is in use by another program. Either identify and stop that program, or start the server

端口被占用问题如何解决:
1.安装netstat

apt-get install net-tools

2.检测端口占用

netstat -npl | grep "端口"

3.根据PID杀死该进程

kill -9 xxxxx

在这里插入图片描述

你可能感兴趣的:(报错整理,服务器,运维)