clnt_create: RPC: Port mapper failure - Unable to receive: errno 113 (No route to host)
What does one do when they get the error below while trying to see the shared NFS directory with the help of the showmount command:-
[[email protected] ~]# showmount -e server_address
clnt_create: RPC: Port mapper failure - Unable to receive: errno 113 (No route to host)
The root cause of getting this error above is your firewall. Make sure that you've enabled the 2049 port for NFS and port 111 for Portmap, or if you can stop iptables that will also help.
/etc/init.d/iptables stop.
Now again try to check the shared drive using the address below:-
[[email protected] ~]# showmount -e server_address
For ex-
[[email protected] ~]# showmount -e 10.10.50.124
Export list for 10.10.50.124:
/usr/local/src 10.10.50.0/24
That's it.
five comments
One or more comments are waiting for approval by an editor.