Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

When scanning with nmap using the -O or -A flag, nmap tries to determine the OS of the target machine.

Putting the question of why you would want to scan your own machine for OS aside, running OS scan on your own machine renders the message

Skipping OS Scan against because it doesn't work against your own machine (localhost)

What is it that makes OS scan against your own machine impossible?

share|improve this question

1 Answer 1

Try using your IP Address instead. Localhost does not involve the entire network interface, and I would believe that nmap will work if you use your IP address instead...

See Why is there a difference between ping "localhost" and ping "local IP address"? for more details on why I believe Localhost won't work...

share|improve this answer
The localhost text seems to be just boilerplate. It shows up regardless of how I address the target. It actually never occurred to me to scan "localhost". –  Zano May 22 '12 at 20:45

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.