Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 293
  • 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

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

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