1823805 Members
4823 Online
109665 Solutions
New Discussion юеВ

NFS - Ports used by

 
SOLVED
Go to solution
Michele (Mike) Alberton
Regular Advisor

NFS - Ports used by

Hi Folks !

We're trying to use NFS on an HP-UX 11.0 J7000 to remotely mount some filesystem out of an HP-UX 11.00 N4000.
Due to the network layout, we have a lot of firewalls in between (plus some reverse proxies and so on). We're able at the moment to connect the two systems through a telnet (since we asked the network administrator to open port 23). Now what about NFS ?
I mean is there a predefined set of ports used by NFS to mount the filesystems ? We cannot open entirely the network so that we would like to know if this the way it works or not.
Thanks !

Mike
7 REPLIES 7
Bill McNAMARA_1
Honored Contributor
Solution

Re: NFS - Ports used by

search for nfs in /etc/services

Later,
Bill
It works for me (tm)
Ian Dennison_1
Honored Contributor

Re: NFS - Ports used by

Try 'grep nfs /etc/services', and 'netstat -a |grep nfs'.

This is an example of the services for a Service Guard Cluster,..

nfsd-keepalive 1110/udp # Client status info
nfsd-status 1110/tcp # Cluster status info
nfsd 2049/udp # NFS remote file system
nfsd 2049/tcp # NFS remote file system

Hope this helps! Share and Enjoy! Ian
Building a dumber user
Peter Kloetgen
Esteemed Contributor

Re: NFS - Ports used by

Hi Mike,

in /etc/services you can find predifined ports for nfs:

nfsd-keepalive 1110/udp
nfsd-status 1110/tcp
nfsd 2049/udp


Allways stay on the bright side of life!

Peter
I'm learning here as well as helping
K.Vijayaragavan.
Respected Contributor

Re: NFS - Ports used by

See the file /etc/rpc for some more ports related with NFS services.

see the man page of the command rpcinfo too.

-Vijay
"Let us fine tune our knowledge together"
Volker Borowski
Honored Contributor

Re: NFS - Ports used by

Hello,

one problem might be that some firewall guys only think in "tcp" if you ask for a port permission. For NFS you need to permit UDP!

Volker
Michele (Mike) Alberton
Regular Advisor

Re: NFS - Ports used by

Hey !

Thanks to all of you for the promptness !

Cheers,

Mike
Bill McNAMARA_1
Honored Contributor

Re: NFS - Ports used by

NFS is available over TCP now...
at least with 11i

Later,
Bill
It works for me (tm)