I want to set up a filesharing server with NFS. But when I want to show the conetnts of export I get this:
manuel@server ~ $ showmount clnt_create: RPC: Port mapper failure - Unable to receive: errno 111 (Connection refused)
What is wrong with it?
I know this is old but I struggled with this today and would like to help future strugglers, LOL
Do the following:
From cli type,
iptables -I INPUT -p tcp --dport 111 -j ACCEPT iptables -I INPUT -p tcp --dport 2049 -j ACCEPT /etc/init.d/iptables save
Restart rpcbind service.
showmount -e ipaddress of your nfs server.