600字范文,内容丰富有趣,生活中的好帮手!
600字范文 > Linux报错:Port xxx is in use by another program. Either identify and stop that program...

Linux报错:Port xxx is in use by another program. Either identify and stop that program...

时间:2020-10-29 22:46:06

相关推荐

Linux报错:Port xxx is in use by another program. Either identify and stop that program...

出现这个报错的原因是端口被占用

解决方法1:

选择其它端口

解决方法2:

杀死占用这个端口的进程

第一步:#安装netstat

yum -y install net-tools

#检测端口占用

netstat -npl | grep "端口"

第二步:查找占用端口的进程的PID

第三步:根据PID杀死该进程

本内容不代表本网观点和政治立场,如有侵犯你的权益请联系我们处理。
网友评论
网友评论仅供其表达个人看法,并不表明网站立场。