Okay so I'm new to all this stuff. I've never worked on Linux servers before. I have an Ubuntu server and Debian stretch ver 9. I installed nfs server on Ubuntu and nfs client on Debian. The machines are able to ping one another but the problem is that when I try to mount nfs share from Ubuntu to debian, it says
mount.nfs: connection timed out
The command I'm running on Debian is:
# mount <ip of Ubuntu>:/export/nfs /mnt/nfs
I created /mnt/nfs
in Debian. Here, /export/nfs
is the directory I created on Ubuntu and the ownership is nobody:nogroup
. I also edited the /etc/exports
and added the following in it:
/export/nfs <internal-network>/24(rw,insecure,all_squash).
I don't know what the problem is. Can someone please tell me what I am doing wrong?