my router doesn't work, aws security groups don't open ports for some reason, koding's vms's ports open but don't connect, so i'm not sure if the problem is with the code or the connections.
you need to port forward if you don't have a port forwarded already
you need python installed
make sure the port really is open with
http://www.yougetsignal.com/tools/open-ports/open both client and host, and change port to whichever port you have forwarded
for example:
port = 108
open client and set host to your public ip
for example:
host = "68.194.65.10"
then you need to run server.py
then run client.py
if it connects, try typing into the client, and see if the text shows up in the host