You're getting no connection because you don't forward 80 and 21 unless you want to host a web server and an ftp server. You have to forward the port that your program is using. Know that whole business of LocalPort for winsock connections?