Is it possible to start NFSv4 server on different than default (2049) port?

I searched the web for nfs-kernel-server and RPCMOUNTDOPTS, but did not find any configuration options.

My setup uses Debian 9 and standard NFS client / server from apt.


you can set the port number in file /etc/nfs.conf:


and mount as:

mount -o port=4049,....

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.