開いているポートを調べるには

# nmap localhost
Starting nmap V. 2.53 by fyodor@insecure.org ( www.insecure.org/nmap/ )
Interesting ports on localhost (127.0.0.1):
(The 1504 ports scanned but not shown below are in state: closed)
Port       State       Service
21/tcp     open        ftp
22/tcp     open        ssh
23/tcp     open        telnet
25/tcp     open        smtp
37/tcp     open        time
79/tcp     open        finger
80/tcp     open        http
98/tcp     open        linuxconf
110/tcp    open        pop-3
111/tcp    open        sunrpc
113/tcp    open        auth
139/tcp    open        netbios-ssn
513/tcp    open        login
514/tcp    open        shell
515/tcp    open        printer
901/tcp    open        samba-swat
982/tcp    open        unknown
5680/tcp   open        canna
22273/tcp  open        wnn6
Nmap run completed -- 1 IP address (1 host up) scanned in 1 second
Share on Facebook0Share on Google+0Tweet about this on TwitterBuffer this pageEmail this to someone