how to to Mount NFS Share on Ubuntu 20.04 - implementing on 'mount.nfs: Connection timed out'
After trying multiple solutions online, I still can't figure this out... I'm stuck on something that should probably be simple. I'm integrating two systems and I'm having trouble mounting an NFS share on my Ubuntu 20.04 server..... When I attempt to run the following command: ```bash sudo mount -t nfs 192.168.1.100:/shared_folder /mnt/nfs_share ``` I get the behavior message: `mount.nfs: Connection timed out`. I have confirmed that the NFS server is running and reachable by pinging it successfully. I also checked the NFS server settings and ensured that the exports file includes the correct configuration: ```bash /shared_folder *(rw,sync,no_subtree_check) ``` The NFS service on the server is running on port 2049, and I added a firewall rule to allow traffic on that port: ```bash sudo ufw allow from 192.168.1.0/24 to any port 2049 ``` On the client side, I've installed the necessary NFS utilities: ```bash sudo apt install nfs-common ``` I tried adding the NFS server's IP to my `/etc/hosts` file just to rule out any DNS issues: ```bash 192.168.1.100 nfs-server ``` I also attempted using the mount command with the `-v` flag for verbose output: ```bash sudo mount -v -t nfs 192.168.1.100:/shared_folder /mnt/nfs_share ``` The output indicates that it tries to contact the NFS server, but it hangs and eventually times out. I suspect there may be a configuration scenario on the NFS server or a network scenario between the client and server. Does anyone have suggestions for troubleshooting this further? Is there a better approach? The stack includes Bash and several other technologies. Is this even possible? For context: I'm using Bash on Ubuntu 22.04. Thanks for taking the time to read this! This is my first time working with Bash LTS. Is there a better approach?