lsof -i :111 发现有进程监听相关端口

查看正在监听的111端口,由哪个服务使用
cat /etc/services | grep -w 111

查看相关服务
systemctl list-unit-files --all |grep rpcbind

停止相关服务
systemctl stop rpcbind.socket
lsof -i :111 发现有进程监听相关端口

查看正在监听的111端口,由哪个服务使用
cat /etc/services | grep -w 111

查看相关服务
systemctl list-unit-files --all |grep rpcbind

停止相关服务
systemctl stop rpcbind.socket