8

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

For that, I have tested

 sudo mount -t nfs 11.11.11.111:/some_directory /mnt/test/

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

Thanks in advance.

2 Answers 2

16

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

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

For more information, do man mount_nfs

1
  • 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
3

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

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

You must log in to answer this question.

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