I am trying to mount a director from another server on my server.

For that, I have tested

 sudo mount -t nfs /mnt/test/

But the connections gets a timeout because on the server I am using another port: 1122

Thanks in advance.

2 Answers 2


You can specify options using the flag -o key=value. In this case:

 sudo mount -o port=1122 -t nfs /mnt/test/

For more information, do man mount_nfs

  • Thanks a lot. I just tryed but there is no answer from the mount command, it stays there since 15min without giving any feedback
    – Milos
    Apr 1, 2014 at 14:26

If I recall correctly you use the port= option to specify destination port. For example:

sudo mount -t nfs -o port=1122 /mnt/test/

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .