List all open ports

How can I list all the open ports on a Solaris x86 Nevada machine? I can use nmap to scan a Solaris 10 machine, but it appears that Nevada blocks out such scan requests.

I would like a listing that looks something like this:

PORTSTATE SERVICE

21/tcpopen ftp

22/tcpopen ssh

23/tcpopen telnet

25/tcpopen smtp

79/tcpopen finger

80/tcpopen http

Thanks

Manish

[421 byte] By [manishUSF] at [2007-11-26 10:15:34]
# 1
Try installing lsof ( http://freshmeat.net/projects/lsof/ ). It's got a lot of options for all sorts of things, but you may want lsof -i.edit: netstat may be enough for what you want, lsof just offers much more.
Reinder at 2007-7-7 2:07:55 > top of Java-index,General,Sun Networking Services and Protocols...
# 2
Perhaps you just want to run netstat -a?-- Darren
Darren_Dunham at 2007-7-7 2:07:55 > top of Java-index,General,Sun Networking Services and Protocols...