in reply to Socket programming Help

Binding the server-socket to 127.0.0.1 cannot work, but this has already been mentioned.

One possible problem could be that your ISP (the IPS of your sever that is) does not allow incoming connections.

So try to verify that your server is actually visible on the internet (e.g. telnet from a pi to your server) as just opening a server socket might not be enough...