I have deployed a NFS server on an Azure Ubuntu 14.04LTS VM using this tutorial.
The problem that I'm facing is this: While I am able to successfully mount the folder I want when the client is my laptop or another physical machine, I can't do the same with another VM posing as a client. I have configured the required endpoints (ports 2049 both udp and tcp) and I have, followed the exact same steps. What I get is this:
azureuser@testNode2:~$ sudo mount public.Azure.IP.ofNode1:export/users /export
mount.nfs: Connection timed out
I have also tried to mount using internal IP addresses but the outcome is the same.
If anyone could tell me what causes this or help me with this issue I'd be grateful.
You also need to open TCP/UDP 111. If the two VMs are in Azure, you should make them part of the same cloud service, or connect them to a virtual network in which case given Ubuntu in Azure ships with no default software firewall you wouldn't need to open anything.