1、关闭 rpcbind 服务
sudo systemctl disable rpcbind
2、关闭开机自启动
sudo systemctl disable rpcbind
3、立即执行关闭
systemctl stop rpcbind.socket
4、 验证是否监听
netstat -anup
备注:systemctl list-sockets 可查看系统正在实现套接字激活的端口和服务
sudo systemctl disable rpcbind
sudo systemctl disable rpcbind
systemctl stop rpcbind.socket
netstat -anup
备注:systemctl list-sockets 可查看系统正在实现套接字激活的端口和服务