Improve company productivity with a Business Account.Sign Up

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
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

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