Operating System - HP-UX
1843973 Members
2491 Online
110226 Solutions
New Discussion

Re: How to check XXX port is open in HP Unix

 

How to check XXX port is open in HP Unix

I want to check whether the XXX port is open for the specific HP Unix machin from network.
Any command or any scripts is there for checking that xxx port is open or not.
5 REPLIES 5
Pieter 't Hart
Honored Contributor

Re: How to check XXX port is open in HP Unix

"netstat -a" or "netstat -a |grep XXX" may display a listener on this port

regards,
Pieter
Dennis Handly
Acclaimed Contributor

Re: How to check XXX port is open in HP Unix

Jozef_Novak
Respected Contributor

Re: How to check XXX port is open in HP Unix

Also telnet from another box can be used to check whether the port is open:

# telnet target_system_ip

T G Manikandan
Honored Contributor

Re: How to check XXX port is open in HP Unix

lsof -i tcp/udp:

Re: How to check XXX port is open in HP Unix

i want to check that how many port access is already given for specific server.