title: mount.nfs: Connection timed out on ubuntu 14.04.1 LTS
body: <p>I trying to create a nfs server for the first time. On trying to mount to the server I am getting an error "mount.nfs: Connection timed out". My server version is ubuntu 14.04.5 LTS while my client is ubuntu 14.04.1 LTS. Following are the step that I have performed. </p>
  
  <p>On Server Side:</p>
  
  <p><strong># vi /etc/exports</strong></p>
  
  <pre><code>/home/nfs           192.168.13.81(rw,async,no_root_squash)
  </code></pre>
  
  <p><strong># sudo service nfs-kernel-server restart</strong></p>
  
  <p><strong># sudo exportfs -u</strong></p>
  
  <pre><code>/home/nfs       192.168.13.81
  </code></pre>
  
  <p>On Client Side:</p>
  
  <p><strong># sudo mount 192.168.13.80:/home/nfs /home/nfs</strong></p>
  
  <pre><code>mount.nfs: Connection timed out
  </code></pre>
  
  <p>on trying,</p>
  
  <p><strong>#sudo mount -t nfs4 -o proto=tcp,port=2049 192.168.13.80:/home/nfs /home/nfs</strong></p>
  
  <pre><code>mount.nfs4: mounting 192.168.13.80:/home/nfs failed, reason given by server: No such file or directory
  </code></pre>
  
  <p>"# rpcinfo -p" gives:</p>
  
  <pre><code>program vers proto   port  service
      100000    4   tcp    111  portmapper
      100000    3   tcp    111  portmapper
      100000    2   tcp    111  portmapper
      100000    4   udp    111  portmapper
      100000    3   udp    111  portmapper
      100000    2   udp    111  portmapper
      100024    1   udp  39340  status
      100024    1   tcp  49970  status
      100003    2   tcp   2049  nfs
      100003    3   tcp   2049  nfs
      100003    4   tcp   2049  nfs
      100227    2   tcp   2049
      100227    3   tcp   2049
      100003    2   udp   2049  nfs
      100003    3   udp   2049  nfs
      100003    4   udp   2049  nfs
  </code></pre>
  
  <p>I am not sure what or how else to try. Please help. Any help would be highly appreciated. Thanks.</p>