954,549 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

pc to pc communication with Server/Client

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?

kzdev
Newbie Poster
11 posts since Feb 2008
Reputation Points: 10
Solved Threads: 0
 

>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).

__avd
Posting Genius (adatapost)
Moderator
8,648 posts since Oct 2008
Reputation Points: 2,136
Solved Threads: 1,241
 

problem solved, thank you for your respose.

kzdev
Newbie Poster
11 posts since Feb 2008
Reputation Points: 10
Solved Threads: 0
 

This question has already been solved

Post: Markdown Syntax: Formatting Help
You
View similar articles that have also been tagged: