Home Forums Support Confused Reply To: Confused


Windows 8.0.
Building in VS2010 express.

I download the zip file called ClientServerExample.zip, unzip and then try to run the prebuilt exes. I also compile the source code to run. I touch nothing with the source code.

Error in client:
Error during TCP connection establish with destination ([TCP] Local -> Destination may not be listening or connect timed out. System.Net.Sockets.SocketException (0x80004005): No connection could be made because the target machine actively refused it
at System.Net.Sockets.Socket.EndConnect(IAsyncResult asyncResult)
at System.Net.Sockets.TcpClient.EndConnect(IAsyncResult asyncResult)
at NetworkCommsDotNet.TCPConnection.ConnectTCPClient()

Error occurs at:
NetworkComms.SendObject(“Message”, serverIP, serverPort, messageToSend);

Error in Server:
The requested address is not valid in its context
Error occurs at: