If you can connect to your local server, but can\'t connect to one on the internet, the problem IS your firewall on your computer or your router.
Use the telnet command to connect to the server on the specified port, and see if a connection is refused, accepted, or timeouts.
Windows Icon->Run...