Centos7 not allowing nfs to be served

centosnfsnfs4

I just did a fresh centos7 and fedora 20 install on 2 systems. I have several current systems running on the network and can connect to an existing nfs share no problems. when any system triest to connect to the centos7 for rpc or nfs they get rpc errors. "mount.nfs4: mount(2): No route to host" for example. list rpc on the server and it lists all services remotely and it errors. other applications have no issues connecting to the centos7 system.

I have verified it has all packages installed needed for nfs and the services state they are started with pids. rpcbind does not visibally list as being bound to localhost. I can mount the drive locally no issues. If I do showmount -e = "clnt_create: RPC: Program not registered" on both centos7 and fedora 20. I have flushed all firewall rules and set selinux to permissive.

Any thoughts would be greatly appriciated.

Best Answer

sadly enough even though I told the firewall to allow all it did not.

a tutorial on www.unixmen.com for nfs had the best solution I have seen so far

firewall-cmd --permanent --add-port=111/tcp ... etc for the related ports.