View Single Post
Posts: 334 | Thanked: 45 times | Joined on Jan 2010
#37
Originally Posted by Cas07 View Post
It means that the variable HOST has not be set. Have you got the latest client.py and did you put the desktop pc ip address in?

Code:
HOST, PORT = "192.168.0.1", 50007
Yeah I did, I changed it in the place where it was marked.

Server.py

# Change this to your computer's hostname
# We might do this automatically in the future!
HOST, PORT = "192.168.0.1", 50007

I changed it to this:

# Myhostname# We might do this automatically in the future!
HOST, PORT = "192.168.0.2", 50007

And i changed the port to my static ip to which i have forwarded the port.


client.py

# CHANGE THE HOSTNAME TO THE HOSTNAME OR IP OF THE PC RUNNING THE SERVER COMPONENT
HOST, PORT = "192.168.0.1", 50007

changed it to:



# Myhostname, PORT = "192.168.0.2", 50007

Last edited by badboyuk; 2010-10-31 at 20:37.