Question

mount NFS Connection refused

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?


Submit an answer


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!

Sign In or Sign Up to Answer

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.

Bobby Iliev
Site Moderator
Site Moderator badge
February 20, 2025

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 with ufw 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 using telnet for example.

- Bobby

alexdo
Site Moderator
Site Moderator badge
February 23, 2025

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

Become a contributor for community

Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.

DigitalOcean Documentation

Full documentation for every DigitalOcean product.

Resources for startups and SMBs

The Wave has everything you need to know about building a business, from raising funding to marketing your product.

Get our newsletter

Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.

New accounts only. By submitting your email you agree to our Privacy Policy

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.