1753903 Members
10036 Online
108810 Solutions
New Discussion юеВ

Open ports check commad

 
SOLVED
Go to solution
Abubakkar
Frequent Contributor

Open ports check commad

How to check open ports/sockets
2 REPLIES 2
manuj kumar
Frequent Advisor
Solution

Re: Open ports check commad

telnet IP Port_Number

OR
netstat -an |grep -i list
kemo
Trusted Contributor

Re: Open ports check commad

please refer to the below thread.

http://h30499.www3.hp.com/t5/System-Administration/Open-ports-in-HPUX/m-p/3730115#M254379

 

-----

#lsof -i | pg

the last column will list you all the ports ( Listening or idle). If you do not have lsof on your system you have to download it from the HP-UX porting site, and some one did post the link for download.

#netstat -a | pg ( will get you the port information too)
------- Pratyush Paul -----

netstat -an |grep LISTEN


thanks