Operating System - HP-UX
1820475 Members
2964 Online
109624 Solutions
New Discussion юеВ

How To Disable Netbus Port 12345 from HPUX

 
morganelan
Trusted Contributor

How To Disable Netbus Port 12345 from HPUX

Hi unux Gurus,

How to find out port 12345 (Netbus) is listening on my hpux server.How to disable this port because I can not find this port in my /etc/services file.My OS is HPUX 11.11.Thanks in advance.
Kamal Mirdad
5 REPLIES 5
Arunvijai_4
Honored Contributor

Re: How To Disable Netbus Port 12345 from HPUX

Hello,

You can use netstat to find out.

# netstat -na |grep -E 12345

Stop the application which runs on that particular port or change the port number in that app's configuration file.

-Arun
"A ship in the harbor is safe, but that is not what ships are built for"
Devender Khatana
Honored Contributor

Re: How To Disable Netbus Port 12345 from HPUX

Hi,

netstat will help you to find all ports which are open and listening.

HTH,
Devender
Impossible itself mentions "I m possible"
morganelan
Trusted Contributor

Re: How To Disable Netbus Port 12345 from HPUX

How to know what application that using this port?Thanks in advance.
Kamal Mirdad
Arunvijai_4
Honored Contributor

Re: How To Disable Netbus Port 12345 from HPUX

You can use "lsof" to find out which application runs on 12345. You can download it from,

http://hpux.connect.org.uk/hppd/hpux/Sysadmin/lsof-4.75/

-Arun
"A ship in the harbor is safe, but that is not what ships are built for"
morganelan
Trusted Contributor

Re: How To Disable Netbus Port 12345 from HPUX

Thanks in advance ....
Kamal Mirdad