How to Check for Ports in Use on Linux

  • 7008410
  • 19-Apr-2011
  • 30-Apr-2012

Environment

GroupWise 8
SUSE Linux Enterprise Server

Situation

Need to check to see if a port is in use on Linux.

Resolution

To check if a port is use enter the following (without the <>):

lsof -i TCP:<port number>