Maybe your firewall blocks all connections, just disable it and if it works, so the problem was your firewall. Also, Microsoft Windows XP SP2 has an integrated firewall that is turned on by default after installing SP2, so you can check this firewall too.