I have been trying to set up a dedicated server on a Linux box on my LAN just for private use in the house. The problem is I can't get the client to connect. I used DoomSlider's update script to update the game install then I run the dedicated server script. If I look at netstat you can see that java is listening on port 4242 and if I run a port scan from my other computer you can see that the port is open and filtered. The problem is that when ever I run the client and try to connect to the server it looks like it connects then errors out when trying to establish the socket connection. I have updated java to the latest version and I am at a loss as to what to do next.
I have java 1.8.0_51, am running Debian wheezy and the client is on Ubuntu 14.04.
p.s. can you run the client from terminal with the -client argument without harm.
I have java 1.8.0_51, am running Debian wheezy and the client is on Ubuntu 14.04.
[CLIENT] Client State and Controller successfully created
[CLIENT] trying to connect to 192.168.30.30:4242
Found Credentials
Decrypted StarMade credentials ... logging in to star-made.org
[API-LOGIN] REQUESTING OWN INFO
[API-LOGIN] REQUESTING AUTH TOKEN TO AUTHORIZE ON SERVER
[OAuth2] Requesting Auth Token https://registry.star-made.org/api/v1/users/login_request.json
[OAuth2] server_auth token aquired
logging in to star-made.org successfull.
[CLIENT] establishing new socket connection to 192.168.30.30:4242
[CLIENT] Trying TCP...
[CLIENT] TCP connection failed: ConnectException; Connection timed out
[CLIENT] Trying UDP...
java.net.SocketTimeoutException: Failed to connect!
at org.schema.schine.network.client.ClientToServerConnection.connect(SourceFile:161)
at org.schema.schine.network.client.ClientController.connect(SourceFile:113)
at obfuscated.C.a(SourceFile:772)
at obfuscated.Kr.run(SourceFile:81)
at java.lang.Thread.run(Thread.java:745)
[LookAndFeel] NATIVE LF com.sun.java.swing.plaf.gtk.GTKLookAndFeel
[ERROR] Not applying lok and feel as not all can guarantee all decoration working, resulting in a startup crash
[CLIENT] trying to connect to 192.168.30.30:4242
Found Credentials
Decrypted StarMade credentials ... logging in to star-made.org
[API-LOGIN] REQUESTING OWN INFO
[API-LOGIN] REQUESTING AUTH TOKEN TO AUTHORIZE ON SERVER
[OAuth2] Requesting Auth Token https://registry.star-made.org/api/v1/users/login_request.json
[OAuth2] server_auth token aquired
logging in to star-made.org successfull.
[CLIENT] establishing new socket connection to 192.168.30.30:4242
[CLIENT] Trying TCP...
[CLIENT] TCP connection failed: ConnectException; Connection timed out
[CLIENT] Trying UDP...
java.net.SocketTimeoutException: Failed to connect!
at org.schema.schine.network.client.ClientToServerConnection.connect(SourceFile:161)
at org.schema.schine.network.client.ClientController.connect(SourceFile:113)
at obfuscated.C.a(SourceFile:772)
at obfuscated.Kr.run(SourceFile:81)
at java.lang.Thread.run(Thread.java:745)
[LookAndFeel] NATIVE LF com.sun.java.swing.plaf.gtk.GTKLookAndFeel
[ERROR] Not applying lok and feel as not all can guarantee all decoration working, resulting in a startup crash
p.s. can you run the client from terminal with the -client argument without harm.