Bizarre problem. Once I assign the server an ip address it crashes on launch. I had it running for a few weeks without problems. I went to change the server to creative and the problem appeared. I've tried downloading a new server file and it launches fine. Once I just change the ip it'll crash while leaving the rest of the settings default.
Just this:
[09:00:38] [Server thread/INFO]: Starting minecraft server version 1.8.8
[09:00:38] [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_60]
at java.io.FileInputStream.read(Unknown Source) ~[?:1.8.0_60]
at java.io.BufferedInputStream.read1(Unknown Source) ~[?:1.8.0_60]
at java.io.BufferedInputStream.read(Unknown Source) ~[?:1.8.0_60]
at sun.nio.cs.StreamDecoder.readBytes(Unknown Source) ~[?:1.8.0_60]
at sun.nio.cs.StreamDecoder.implRead(Unknown Source) ~[?:1.8.0_60]
at sun.nio.cs.StreamDecoder.read(Unknown Source) ~[?:1.8.0_60]
at java.io.InputStreamReader.read(Unknown Source) ~[?:1.8.0_60]
at java.io.BufferedReader.fill(Unknown Source) ~[?:1.8.0_60]
at java.io.BufferedReader.readLine(Unknown Source) ~[?:1.8.0_60]
at java.io.BufferedReader.readLine(Unknown Source) ~[?:1.8.0_60]
at ko$2.run(SourceFile:81) [minecraft_server.1.8.8.exe:?]
[09:00:38] [Server thread/INFO]: Loading properties
[09:00:38] [Server thread/INFO]: Default game type: SURVIVAL
[09:00:38] [Server thread/INFO]: Generating keypair
[09:00:39] [Server thread/INFO]: Starting Minecraft server on ipaddress:25566
[09:00:39] [Server thread/INFO]: Using default channel type
[09:00:39] [Server thread/WARN]: **** FAILED TO BIND TO PORT!
[09:00:39] [Server thread/WARN]: The exception was: java.net.BindException: Cannot assign requested address: bind
[09:00:39] [Server thread/WARN]: Perhaps a server is already running on that port?
[09:00:39] [Server thread/INFO]: Stopping server
[09:00:39] [Server Shutdown Thread/INFO]: Stopping server
But I've checked my netstat and nothing is using the port.
Bizarre problem. Once I assign the server an ip address it crashes on launch. I had it running for a few weeks without problems. I went to change the server to creative and the problem appeared. I've tried downloading a new server file and it launches fine. Once I just change the ip it'll crash while leaving the rest of the settings default.
Just this:
[09:00:38] [Server thread/INFO]: Starting minecraft server version 1.8.8
[09:00:38] [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_60]
at java.io.FileInputStream.read(Unknown Source) ~[?:1.8.0_60]
at java.io.BufferedInputStream.read1(Unknown Source) ~[?:1.8.0_60]
at java.io.BufferedInputStream.read(Unknown Source) ~[?:1.8.0_60]
at sun.nio.cs.StreamDecoder.readBytes(Unknown Source) ~[?:1.8.0_60]
at sun.nio.cs.StreamDecoder.implRead(Unknown Source) ~[?:1.8.0_60]
at sun.nio.cs.StreamDecoder.read(Unknown Source) ~[?:1.8.0_60]
at java.io.InputStreamReader.read(Unknown Source) ~[?:1.8.0_60]
at java.io.BufferedReader.fill(Unknown Source) ~[?:1.8.0_60]
at java.io.BufferedReader.readLine(Unknown Source) ~[?:1.8.0_60]
at java.io.BufferedReader.readLine(Unknown Source) ~[?:1.8.0_60]
at ko$2.run(SourceFile:81) [minecraft_server.1.8.8.exe:?]
[09:00:38] [Server thread/INFO]: Loading properties
[09:00:38] [Server thread/INFO]: Default game type: SURVIVAL
[09:00:38] [Server thread/INFO]: Generating keypair
[09:00:39] [Server thread/INFO]: Starting Minecraft server on ipaddress:25566
[09:00:39] [Server thread/INFO]: Using default channel type
[09:00:39] [Server thread/WARN]: **** FAILED TO BIND TO PORT!
[09:00:39] [Server thread/WARN]: The exception was: java.net.BindException: Cannot assign requested address: bind
[09:00:39] [Server thread/WARN]: Perhaps a server is already running on that port?
[09:00:39] [Server thread/INFO]: Stopping server
[09:00:39] [Server Shutdown Thread/INFO]: Stopping server
But I've checked my netstat and nothing is using the port.
Could you define what you mean by "assign the server an ip" and/or show us what you mean
Edit: Solved.