About a month ago, I successfully create a Droplet and connect to my client server. After no use for a few days, it cannot connect to NFS server and even when I ping my NFS IP on my client server, there is nothing happened. I’m using VM ubuntu, so I have to mount to NFS every times annually. I tried restart the Droplet, re-exports the /etc/exports, but still the same. Does anyone happened the same problem?
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
Hi there,
This usually points to network or service issues. Can you confirm that the NFS server is running
sudo systemctl status nfs-server
? And also are ports 2049 and 111 are open in the Droplet’s firewall, check withufw status
or DigitalOcean Cloud Firewalls depending on the one that you are using. And also, is the client IP is allowed in/etc/exports
?It is probably worth trying to restart the NFS service (
sudo exportfs -ra && sudo systemctl restart nfs-server
) and then try to verify network connectivity between the client and server usingtelnet
for example.- Bobby
Hello, @e042dee1fa0f48468a8bb0d0f6e528
You can also check if there are UFW rules,
iptables
rules or Cloud Firewall configuration that can prevent you from accessing the nfs server.Regards