Take the 2-minute tour ×  I started to read a metasploit guide
book so I set up 2 Machines in VirtualBox for pen testing (host
- BT 5, the second - WinXP SP2). When Im trying to scan open
ports with NMAP on the Windows machine, it appears that all
ports are closed, even if I turn off the Firewall. Ive tried to
open SMB port through network connection center but it also
didn`t help. Why all the ports are closed and how can I open
some of them (at least the most common - SMB, HTTP etc) ?  Edit:
Both of the machines working on NAT (10.0.0.x) and accept ping
from each other. I tried: nmap -sS -A WinIP (also tried -sN/-sT)
In each scan the result was the same - all ports are closed.
Thanks in advance !  share|improve this question I think the
output of nmap could be useful. –  Antoine Pinsard Mar 2 '13 at
15:17  4 Answers 4  The ports you mentioned are open for
specific services and servers that run on the host. If you
didn't setup any servers or services on your Windows XP SP2,
then there is no reason for those