Find the answer to your Linux question:
Results 1 to 2 of 2
Hello, How can I check If a process (eg squid) is listening on the right port (e:g 339 . Or How can I check what process is listening on a ...
  1. #1
    Just Joined!
    Join Date
    Mar 2008
    Posts
    2

    Check if a process is listening on a specific port

    Hello,
    How can I check If a process (eg squid) is listening on the right port (e:g 339. Or How can I check what process is listening on a port (e.g 339. I am using CentOS and Ubuntu.

  2. #2
    Linux Guru anomie's Avatar
    Join Date
    Mar 2005
    Location
    Texas
    Posts
    1,692
    Review output of:
    # netstat -ltnup

    Or review output of:
    # lsof -i4

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...