I'm trying to mount server filesystem using NFS in centos. But I'm getting Connection timed out error.
Below are the steps I followed.

At server side:

[centos@ip-172-31-46-199 landingzone]$ sudo vi /etc/exports

sudo exportfs -av <br> exporting

At Client Side:

sudo mkdir /mnt/NFS
[centos@ip-172-31-37-128 ~]$ cd /mnt 
[centos@ip-172-31-37-128 mnt]$ ls 
nfs  NFS  tecmint <br>[centos@ip-172-31-37-128 mnt]$ sudo mount /mnt/NFS
mount.nfs: Connection timed out 

FYI, I started NFS service.

migrated from stackoverflow.com Mar 12 '15 at 11:20

This question came from our site for professional and enthusiast programmers.

  • "/home/swathim/landingzone" != "/home/user/landingzone"... Although that should result in a "Permission denied", not a "Connection timed out". I suspect one or more daemon isn't running on your server. – twalberg Mar 11 '15 at 21:19
  • is the service nfs started? – taliezin Mar 12 '15 at 11:26
yum install nfs-utils nfs-utils-lib

chkconfig nfs on 

service rpcbind start

service nfs start

Client side:

chkconfig netfs on

sudo mount -t nfs /mnt/NFS

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.