Reputation: 5550
I made a program that connects to a server (which I also wrote) via TCP\IP.
When testing on the same computer - it works fine (connect to 127.0.0.1), but it doesn't work on different computers.
I have an NOIP address also - how can I use it?
I did try using my address itself (80.whatever) on both the client and server and it didn't connect at all - it couldn't reach the host.
What should I do?
Upvotes: 1
Views: 2983
Reputation: 5550
Oh - basically I found out that I don't need to supply my IP address - I just did:
_client = new TcpListener(1234);
Upvotes: 1
Reputation: 27913
Try disabling your windows Firewall.
Make sure your server is binding to all of your IP addresses, not just localhost (127.0.0.1).
Upvotes: 2