I use Microsoft Visual Basic 2008 Express Edition and I am begginer in computer networks.

I want to make two PCs communicate via network using server/client

I followed the example from this site: http://www.eggheadcafe.com/articles/20020323.asp (VB.NET TCP Client/Server Socket Commmunications)

When I run the applications server and client in one computer then is possible the client to connect with server.

When I use two computers via network, in the first computer I run the server application and in the second computer the client application then the client it gives me error message like:
No connection could be made because the target machine actively refused it

How can I solve this issue?

7 Years
Discussion Span
Last Post by kzdev
This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.