Jump to content

Forge server public address error

Recommended Posts



I create a server with minecraft 1.7.20 forge and, when I put my private address, it works. But the public address crash the server.


Here is the crash log:

[18:03:24] [server thread/INFO]: Starting minecraft server version 1.7.10

[18:03:24] [server console handler/ERROR]: Exception handling console input

java.io.IOException: The handle is invalid

at java.io.FileInputStream.readBytes(Native Method) ~[?:1.8.0_91]

at java.io.FileInputStream.read(Unknown Source) ~[?:1.8.0_91]

at java.io.BufferedInputStream.read1(Unknown Source) ~[?:1.8.0_91]

at java.io.BufferedInputStream.read(Unknown Source) ~[?:1.8.0_91]

at sun.nio.cs.StreamDecoder.readBytes(Unknown Source) ~[?:1.8.0_91]

at sun.nio.cs.StreamDecoder.implRead(Unknown Source) ~[?:1.8.0_91]

at sun.nio.cs.StreamDecoder.read(Unknown Source) ~[?:1.8.0_91]

at java.io.InputStreamReader.read(Unknown Source) ~[?:1.8.0_91]

at java.io.BufferedReader.fill(Unknown Source) ~[?:1.8.0_91]

at java.io.BufferedReader.readLine(Unknown Source) ~[?:1.8.0_91]

at java.io.BufferedReader.readLine(Unknown Source) ~[?:1.8.0_91]

at net.minecraft.server.dedicated.DedicatedServer$2.run(DedicatedServer.java:97) [lv.class:?]

[18:03:24] [server thread/WARN]: To start the server with more ram, launch it as "java -Xmx1024M -Xms1024M -jar minecraft_server.jar"

[18:03:31] [server thread/INFO]: Loading properties

[18:03:31] [server thread/INFO]: Default game type: SURVIVAL

[18:03:31] [server thread/INFO]: Generating keypair

[18:03:31] [server thread/INFO]: Starting Minecraft server on

[18:03:31] [server thread/WARN]: **** FAILED TO BIND TO PORT!

[18:03:31] [server thread/WARN]: The exception was: java.net.BindException: Cannot assign requested address: bind

[18:03:31] [server thread/WARN]: Perhaps a server is already running on that port?



Can you please help me?



Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Create New...

Important Information

By using this site, you agree to our Terms of Use.