how to find port assigned to a process on unix

nrusinh
nrusinh used Ask the Experts™
on
how to find which port is assigned to a process on unix
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Commented:
$ lsof -i

should do the job. Sources and binaries at
ftp://lsof.itap.purdue.edu/pub/tools/unix/lsof/

Author

Commented:
what is netstat command ?

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial