I apologize in advance if this has already been asked, im sure it has. But I've been searching and cant get any answers. I'm learning how to make simple Client/Server Connections using Sockets and ServerSockets. I started out with a client and a server both running on the same machine, the IP address the client was using was the local "127.0.0.1" loopback address. However, when I ran the server from my desktop, and the client from my laptop , it did not work. The first time I used my external IP address and I received a connection timed out error. So I changed the IP address in the client to the internal "192. etc." and this time received a connection refused error. I do have a firewall, however i've changed the settings on both machines to allow connections from the appropriate
java programs.
I'm starting to think that my problem may be my router? As in, i need to change a setting in my router to allow the connection, but I honestly have no idea. If i need to post the code i will, its very short. But i think I may just have a problem with the addresses. Let me know. Thanks in advance.
Ben