off220@Lucid:/$ sudo nmap 192.168.1.2
Starting Nmap 5.00 (
http://nmap.org ) at 2010-07-21 19:53 YEKST
Interesting ports on 192.168.1.2:
Not shown: 998 closed ports
PORT STATE SERVICE
139/tcp open netbios-ssn
445/tcp open microsoft-ds
Nmap done: 1 IP address (1 host up) scanned in 0.34 seconds
off220@Lucid:/$ sudo nmap localhost
Starting Nmap 5.00 (
http://nmap.org ) at 2010-07-21 19:53 YEKST
Warning: Hostname localhost resolves to 2 IPs. Using 127.0.0.1.
Interesting ports on localhost (127.0.0.1):
Not shown: 997 closed ports
PORT STATE SERVICE
139/tcp open netbios-ssn
445/tcp open microsoft-ds
631/tcp open ipp
Nmap done: 1 IP address (1 host up) scanned in 0.24 seconds