Kryonet connection issue

Hello all, so my team and i have setup a git repository, and made a test server.

They can connect to eachother fine but cant connect to me. i also cant connect to them, or even myself when im not using localhost.

I can only connect to 127.0.0.1, otherwise this comes up

java.io.IOException: Unable to connect to: /50.71.79.53:6464
at com.esotericsoftware.kryonet.TcpConnection.connect(TcpConnection.java:92)
at com.esotericsoftware.kryonet.Client.connect(Client.java:149)
at com.esotericsoftware.kryonet.Client.connect(Client.java:110)
at com.photongun.client.GuiGame.create(GuiGame.java:41)
at com.photongun.client.PhotonGun.(PhotonGun.java:143)
at com.photongun.client.PhotonGun.main(PhotonGun.java:42)
Caused by: java.net.SocketTimeoutException
at sun.nio.ch.SocketAdaptor.connect(Unknown Source)
at com.esotericsoftware.kryonet.TcpConnection.connect(TcpConnection.java:77)
… 5 more

We are really stuck here, because the ports are forwarded properly

I have a feeling your ports AREN’T forwarded correctly… especially based on the fact everyone can connect to each other just fine BESIDES YOU. Also you didn’t provide any sort of code for anyone to take a look at, it’s hard to provide help with minimal code… but impossible without any code.

As Soul Foam said, supply some code so we have more context as to what’s going on.

Also, next time surround your code/exception with code tags.

[ code]
System.out.println(“Hello world!”);
[ /code]

without the spaces becomes


System.out.println("Hello world!");

no need to get ultra hasty here, just want to make sure that any code i post has real use because we dont even know which part of the code is wrong.

i checked my port online and it is open, theirs are open too. but i cant connect to any servers publicly. but member A can connect to member B, C(me) can’t connect to either

http://pastebin.java-gaming.org/ed0e06c952c13

this is the only thing that i can see as being useful to people who want to help, but the code works for the others so idk

EDIT: On any other programs, i connect to servers without any issue

Make sure your firewall isn’t blocking anything? Very strange you can’t connect to a server someone else is hosting, but member ‘A’ can. Without access to your machine and router configuration it’s really hard to debug networking issues like this.

i disabled firewall completely even, and even put my pc on DMZ and it still won’t work. This is really confusing to me and everyone else… In fact member A had the same error connection to member B but he claims it “fixed itself”, i really don’t even know if this is an issue that is supposed to be on this forum. but then again this is the only time these issues are present…

EDIT: using my internal ip the connection works