[Webinar] Streamline your web hosting managementRegister Today

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 294
  • Last Modified:

tcp

How may we say that  what  process has a TCP port open in hp Linux
0
nobleit
Asked:
nobleit
1 Solution
 
Gerwin Jansen, EE MVETopic Advisor Commented:
Try with lsof (list of open files):

lsof | grep <portno>

lsof would be in /usr/sbin
0
 
balasundaram_sCommented:
Earlier post is correct, except the option to list the port no., instead of port names;

# lsof -P | grep portno

0

Featured Post

The 14th Annual Expert Award Winners

The results are in! Meet the top members of our 2017 Expert Awards. Congratulations to all who qualified!

Tackle projects and never again get stuck behind a technical roadblock.
Join Now