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 127.0.0.1:8000

How can I solve this issue?

Re: pc to pc communication with Server/Client 80 80

>the target machine actively refused it 127.0.0.1:8000
It only happens if the server isn't listening on the expected port (8000).

Re: pc to pc communication with Server/Client 80 80

problem solved, thank you for your respose.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of 1.19 million developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.