Sysadmin > SolarIs > OpenPorts

How to list open ports on Solaris

The classical unix command is

netstat -an

A better tool is

lsof -i

An alternative is

pfiles /proc/* | ggrep "\(^[0-9]\|INET\)" | grep -v INET6

or

fuser