Operating System - HP-UX
1833294 Members
3241 Online
110051 Solutions
New Discussion

Tcpip Port(s) used by Samba

 
RASE_1
Advisor

Tcpip Port(s) used by Samba

Dear,

I'm sorry but because I haven't time to make search myself, please could you provide me information about Tcpip port(s) used by Samba running under HP UX v2 ?

Regards,
2 REPLIES 2
Matti_Kurkela
Honored Contributor

Re: Tcpip Port(s) used by Samba

As on every platform Samba runs on (it must be cross-platform compatible after all):

Samba listens for incoming connections on these ports:

- TCP protocol: ports 139 and 445 (process smbd)

- UDP protocol: ports 137 and 138 (process nmbd)

The nmbd process will also send outgoing traffic to those same ports on other hosts, to announce its presence in the Windows Network Neighborhood system.

In addition, SWAT (the optional web-based management tool for Samba) uses TCP port 901. It is typically started from /etc/inetd.conf, so it can be restricted using tcp-wrappers. Or if you choose to always edit Samba configuration manually, you won't need SWAT at all and can completely disable/uninstall it.

MK
MK
RASE_1
Advisor

Re: Tcpip Port(s) used by Samba

Thanks fir this accurate reply.