Server-side mount is not a problem when configuring Server for NFS, but prompt when client mounts: Mount.nfs:Connection timed out
Workaround 1:
Shut down
#
Workaround 2:
Rpcinfo-p
Shown below:
Program Vers Proto
Program vers proto Port service
100000 4 TCP 111 Portmapper
100000 3 TCP 111 Portmapper
100000 2 TCP 111 Portmapper
100000 4 UDP 111 portmapper
100000 3 UDP 111 Portmapper
100000 2 UDP 111 portmapper
100005 3 tcp 38465 Mountd
100005 1 tcp 38466 mountd
100003 3 TCP 2049 NFS
100024 1 UDP 51714 status
100024 1 tcp 37589 status
100227 3 tcp 2049 Nfs_acl
Open these ports:
Firewall-cmd--permanent--add-port=111/tcp
Firewall-cmd--permanent--add-port=38465/tcp
Firewall-cmd--permanent--add-port=38466/tcp
Firewall-cmd--permanent--add-port=2049/tcp
Firewall-cmd--permanent--add-port=51714/tcp
Firewall-cmd--permanent--add-port=37589/tcp
And then
Firewall-cmd--reload
CentOS 7 NFS Client Mount issue