I changed DefaultPort to 7777 in servertest.ini (because the default values didn't work at all) and port forwarded 7777 UDP and 7778-7841 TCP.
This is what I get on my server console when my friend (Dogeko) attempts to join.
*** SERVER STARTED ****
server is listening on port 7777
User Dogeko is trying to connect.
Connected new client Dogeko ID # 0 and assigned DL port 7778
testing TCP download port 7778
TCP port test: accept() timed out, client will have to try again
Then I turned windows firewall off and got a different message:
User Dogeko is trying to connect.
Connected new client Dogeko ID # 0 and assigned DL port 7778
testing TCP download port 7778
java.net.SocketException: Socket operation on nonsocket: configureBlocking
at java.net.DualStackPlainSocketImpl.configureBlocking(Native Method)
at java.net.DualStackPlainSocketImpl.socketAccept(DualStackPlainSocketIm
pl.java:141)
at java.net.AbstractPlainSocketImpl.accept(AbstractPlainSocketImpl.java:
398)
at java.net.PlainSocketImpl.accept(PlainSocketImpl.java:198)
at java.net.ServerSocket.implAccept(ServerSocket.java:530)
at java.net.ServerSocket.accept(ServerSocket.java:498)
at zombie.network.PlayerDownloadServer$2.run(PlayerDownloadServer.java:6
91)
The in-game error message he got was "Failed connection to TCP download port 7778"
I tried connecting to my own server via public IP with port 7777 in the box and I received the exact same results as my friend.
I don't have an antivirus installed so now I'm sitting here stumped.
Question
Mogechi
Link to comment
Share on other sites
8 answers to this question
Recommended Posts
Archived
This topic is now archived and is closed to further replies.