CentOS关闭RPCBind111端口

Centos默认启动rpcbind.socket服务,并监听外网111端口,一般不需要,安全起见,关闭该端口,不自动启动rpcbind服务。 查看是否开启rpcbind rpcinfo 果然有,开启监听了111端口,且是外网监听。 关闭RPC Bind 111端口 查询rpcbind服务状态 systemctl status rpcbind.socket 关闭rpcbind服务 systemctl