You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
client:
sudo mount -o port=19815,vers=3,tcp,noacl -t nfs localhost:/ /mnt/nfs -v
mount.nfs: timeout set for Fri Jul 2 13:45:04 2021
mount.nfs: trying text-based options 'port=19815,vers=3,tcp,noacl,addr=127.0.0.1'
mount.nfs: prog 100005, trying vers=3, prot=6
mount.nfs: portmap query failed: RPC: Program not registered
mount.nfs: requested NFS version or transport protocol is not supported
The text was updated successfully, but these errors were encountered:
the portmap query failed message indicates that it's trying to look up the correct port against the portmap service. Portmap is a protocol for saying which port other protocols run on, and runs on the privileged port 110.
This NFS server implementation skips that step so that it doesn't need to be run as root, but you do need to specify both the mountport and port options specifically on the client to skip lookup in portmap as a result.
server:
go run ./example/helloworld
client:
sudo mount -o port=19815,vers=3,tcp,noacl -t nfs localhost:/ /mnt/nfs -v
The text was updated successfully, but these errors were encountered: