Ok, this is not truly a bug. You're not able to start a server with a server already running on that port. Choose a different port. I've only left this open so that we can add a nice notification dialog that will let us know this and abort gracefully.
Relevant Log Piece:
Failed to start up server properly
java.net.BindException: Address already in use: JVM_Bind
java.net.BindException: Address already in use: JVM_Bind
at java.net.DualStackPlainSocketImpl.bind0(Native Method)
at java.net.DualStackPlainSocketImpl.socketBind(Unknown Source)
at java.net.AbstractPlainSocketImpl.bind(Unknown Source)
at java.net.PlainSocketImpl.bind(Unknown Source)
at java.net.ServerSocket.bind(Unknown Source)
at java.net.ServerSocket.<init>(Unknown Source)
at java.net.ServerSocket.<init>(Unknown Source)
at megamek.server.Server.<init>(Server.java:473)
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Anonymous
-
2014-08-29
Okay. . . how can I tell which ports are "open?" Do I just have to try random numbers until one works?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I think that the address already in use errors are not the source of the issue. The source of the issue is:
Exception in thread "Valkyries" java.lang.IllegalArgumentException: setSelectedIndex: 6 out of bounds
at javax.swing.JComboBox.setSelectedIndex(Unknown Source)
at megamek.client.ui.swing.RandomArmyDialog.updateTechChoice(RandomArmyDialog.java:601)
at megamek.client.ui.swing.RandomArmyDialog.<init>(RandomArmyDialog.java:184)
at megamek.client.ui.swing.ClientGUI.initialize(ClientGUI.java:505)
at mekhq.GameThread.run(GameThread.java:76)
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Log file
Last edit: Dylan Myers 2014-08-28
Custom Mechfiles.
Ok, this is not truly a bug. You're not able to start a server with a server already running on that port. Choose a different port. I've only left this open so that we can add a nice notification dialog that will let us know this and abort gracefully.
Relevant Log Piece:
Failed to start up server properly
java.net.BindException: Address already in use: JVM_Bind
java.net.BindException: Address already in use: JVM_Bind
at java.net.DualStackPlainSocketImpl.bind0(Native Method)
at java.net.DualStackPlainSocketImpl.socketBind(Unknown Source)
at java.net.AbstractPlainSocketImpl.bind(Unknown Source)
at java.net.PlainSocketImpl.bind(Unknown Source)
at java.net.ServerSocket.bind(Unknown Source)
at java.net.ServerSocket.<init>(Unknown Source)
at java.net.ServerSocket.<init>(Unknown Source)
at megamek.server.Server.<init>(Server.java:473)
Okay. . . how can I tell which ports are "open?" Do I just have to try random numbers until one works?
I think that the address already in use errors are not the source of the issue. The source of the issue is:
Could you attach the mmconf/clientsettings.xml file from your MHQ directory?
This is a MM bug, and I've got a fix for it. Since I can't move this ticket from MHQ to MM, I just created a new ticket here: https://sourceforge.net/p/megamek/bugs/4245/.
Invalid: MegaMek Bug