Errno 10061 : No connection could be made because the target machine actively refused it ( client – server )

I have a problem with these client and server codes, I keep getting the [Errno 10061] No connection could be made because the target machine actively refused it I’m running the server on a virtual machine with Windows XP SP3 and the client on Windows 7 64bit, my python version is 2.7.3. What I want … Read more

Why is my method undefined for the type object?

Change your main to: When you declare Object EchoServer0; you have a few mistakes. EchoServer0 is of type Object, therefore it doesn’t have the method listen(). You will also need to create an instance of it with new. Another problem, this is only regarding naming conventions, you should call your variables starting by lower case letters, echoServer0 instead … Read more

Bind failed: Address already in use

The error usually means that the port you are trying to open is being already used by another application. Try using netstat to see which ports are open and then use an available port. Also check if you are binding to the right ip address (I am assuming it would be localhost)