Server/Client communication over internet in Java
We now want to try it over the internet but are having troubles. We tried simply having one of us starting up the server at his house and I’m trying to connect from my computer using his IP and some chosen port (54054, so not an occupied port), but we can’t connect. It gives a timeout.
Is there any particular steps one should take for these things? We’ve tried looking at firewalls and opening ports. Is there some kind of settings to allow the JRE to connect to foreign hosts or something? We tried pinging from a console to each other and for some reason I can ping to my friend who has the server but he can’t ping to me.
I know this isn’t much to go on for you guys, but codewise I’m pretty sure it should work. So I guess I’m just looking for general tips or settings that one often forgets about.
View full post on Tycoon Talk
Communication, Internet, Java, over, Server/Client