LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Mount command fails with connection timed out....port issue? (https://www.linuxquestions.org/questions/linux-newbie-8/mount-command-fails-with-connection-timed-out-port-issue-4175460586/)

threezerous 05-03-2013 09:53 AM

Mount command fails with connection timed out....port issue?
 
I am trying to give read access to a data directory one one linux host (Host A)to an application on another linux host(Host B).

I plan to mount the data directory /abc/data of Host A on Host B. The steps I followed were.

On Host A
As root, Edit /etc/exports and add an entry as
/mnt/dataA <HostA FQDN>(ro)
Restart nfs service as
service nfs stop
service nfs start

On HostB
Mount the source directory as
mount <HostA FQDN>:/abc/data /mnt/dataA nfs ro,rsize=8192,hard,intr,nfsvers=3,tcp 1 2

This configuration runs elsewhere (between Hosts C & D), but fails here. I suspect it is a firewall issue, but not sure what port request I should ask my netops team to open.

Any advise is greatly appreciated.

Thanks much.

linosaurusroot 05-03-2013 10:02 AM

111 and 2049 would be my suggestion (check with netstat on your server)

threezerous 05-03-2013 10:24 AM

Thanks much.....I think it is 111 for us, since I see that port open between Hosts C & D, but not between A & B. I will give it a try.


All times are GMT -5. The time now is 06:15 PM.