Jump to content

Minecraft server wont start

Guest

Not sure if this is where i should post this.

 

Im trying to start a server for me and a few friends, but when i trying to start the server.exe it just closes itself.

 

Heres the log

 

[22:51:48] [server thread/INFO]: Starting minecraft server version 1.8.9
[22:51:48] [server thread/INFO]: Loading properties
[22:51:48] [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_66]
at java.io.FileInputStream.read(Unknown Source) ~[?:1.8.0_66]
at java.io.BufferedInputStream.read1(Unknown Source) ~[?:1.8.0_66]
at java.io.BufferedInputStream.read(Unknown Source) ~[?:1.8.0_66]
at sun.nio.cs.StreamDecoder.readBytes(Unknown Source) ~[?:1.8.0_66]
at sun.nio.cs.StreamDecoder.implRead(Unknown Source) ~[?:1.8.0_66]
at sun.nio.cs.StreamDecoder.read(Unknown Source) ~[?:1.8.0_66]
at java.io.InputStreamReader.read(Unknown Source) ~[?:1.8.0_66]
at java.io.BufferedReader.fill(Unknown Source) ~[?:1.8.0_66]
at java.io.BufferedReader.readLine(Unknown Source) ~[?:1.8.0_66]
at java.io.BufferedReader.readLine(Unknown Source) ~[?:1.8.0_66]
at ko$2.run(SourceFile:81) [minecraft_server.1.8.9.exe:?]
[22:51:49] [server thread/INFO]: Default game type: SURVIVAL
[22:51:49] [server thread/INFO]: Generating keypair
[22:51:49] [server thread/INFO]: Starting Minecraft server on 192.168.0.7:25565
[22:51:49] [server thread/INFO]: Using default channel type
[22:51:50] [server thread/WARN]: **** FAILED TO BIND TO PORT!
[22:51:50] [server thread/WARN]: The exception was: java.net.BindException: Cannot assign requested address: bind
[22:51:50] [server thread/WARN]: Perhaps a server is already running on that port?
[22:51:50] [server thread/INFO]: Stopping server
[22:51:50] [server Shutdown Thread/INFO]: Stopping server
 
Any way to fix it? tried changing the port already
Link to comment
Share on other sites

Link to post
Share on other sites

 

Not sure if this is where i should post this.

 

Im trying to start a server for me and a few friends, but when i trying to start the server.exe it just closes itself.

 

Heres the log

 

[22:51:48] [server thread/INFO]: Starting minecraft server version 1.8.9
[22:51:48] [server thread/INFO]: Loading properties
[22:51:48] [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_66]
at java.io.FileInputStream.read(Unknown Source) ~[?:1.8.0_66]
at java.io.BufferedInputStream.read1(Unknown Source) ~[?:1.8.0_66]
at java.io.BufferedInputStream.read(Unknown Source) ~[?:1.8.0_66]
at sun.nio.cs.StreamDecoder.readBytes(Unknown Source) ~[?:1.8.0_66]
at sun.nio.cs.StreamDecoder.implRead(Unknown Source) ~[?:1.8.0_66]
at sun.nio.cs.StreamDecoder.read(Unknown Source) ~[?:1.8.0_66]
at java.io.InputStreamReader.read(Unknown Source) ~[?:1.8.0_66]
at java.io.BufferedReader.fill(Unknown Source) ~[?:1.8.0_66]
at java.io.BufferedReader.readLine(Unknown Source) ~[?:1.8.0_66]
at java.io.BufferedReader.readLine(Unknown Source) ~[?:1.8.0_66]
at ko$2.run(SourceFile:81) [minecraft_server.1.8.9.exe:?]
[22:51:49] [server thread/INFO]: Default game type: SURVIVAL
[22:51:49] [server thread/INFO]: Generating keypair
[22:51:49] [server thread/INFO]: Starting Minecraft server on 192.168.0.7:25565
[22:51:49] [server thread/INFO]: Using default channel type
[22:51:50] [server thread/WARN]: **** FAILED TO BIND TO PORT!
[22:51:50] [server thread/WARN]: The exception was: java.net.BindException: Cannot assign requested address: bind
[22:51:50] [server thread/WARN]: Perhaps a server is already running on that port?
[22:51:50] [server thread/INFO]: Stopping server
[22:51:50] [server Shutdown Thread/INFO]: Stopping server
 
Any way to fix it? tried changing the port already

 

 

try using a different port.

PC Specs:

 
Core I5 4690K CPU
Gigabyte GTX 960 windforce 4GB GDDR5 GPU
Corsair 100R case
Seasonic 620W S12-II PSU
Kingston SSDNow 120GB SSD
Toshiba 1TB HDD
Asrock H97 Pro4 motherboard
8GB panram DDR3 1600 RAM
Windows 10 home 64 bit
Link to comment
Share on other sites

Link to post
Share on other sites

go into the server.properties and remove the port.

if you port forwarded correctly, it will auto use 25565, you dont have to set it

Rigs I've Built

The Striker i5 4590 @ 3.7 ||  MSI GTX 980 Armor X2 || Corsair RMX 750 || Team Elite Plus 8 GB || Define S || MSI Z97S SLI Krait

The Office PC i3 4160 @ 3.6 || Intel 4600 || EVGA 500B || G.Skill 8 GB || Cooler Master N200 || ASRock H97M Pro4

The Friend PC G3258 @ 4.3 || Sapphire R9 280X Tri-X || EVGA 600B || 8 GB Dell Ram || Cooler Master N200 || ASRock H97M- iTX/ac

The Mom Gaming PC A10-7890K @ 4.4 || iGPU + ASUS R7 250 ||  8 GB Klevv DDR3-2800 Mhz

 

 

Link to comment
Share on other sites

Link to post
Share on other sites

Is it modded?

Seems like issues with the port, try changing that.

Just remember: Random people on the internet ALWAYS know more than professionals, when someone's lying, AND can predict the future.

i7 9700K (5.2Ghz @1.2V); MSI Z390 Gaming Edge AC; Corsair Vengeance RGB Pro 16GB 3200 CAS 16; H100i RGB Platinum; Samsung 970 Evo 1TB; Samsung 850 Evo 500GB; WD Black 3 TB; Phanteks 350x; Corsair RM19750w.

 

Laptop: Dell XPS 15 4K 9750H GTX 1650 16GB Ram 256GB SSD

Spoiler

sex hahaha

Link to comment
Share on other sites

Link to post
Share on other sites

try using a different port.

Is it modded?

Seems like issues with the port, try changing that.

Already tryed that, and its not modded

Link to comment
Share on other sites

Link to post
Share on other sites

go into the server.properties and remove the port.

if you port forwarded correctly, it will auto use 25565, you dont have to set it

Using the same port forward as last time i hosted one, tryed to remove the port and got the same error

Link to comment
Share on other sites

Link to post
Share on other sites

I think the port 25565 is being used by another program. Try changing it.

Link to comment
Share on other sites

Link to post
Share on other sites

I think the port 25565 is being used by another program. Try changing it.

Already tryed that

Link to comment
Share on other sites

Link to post
Share on other sites

Already tryed that

Not sure what's the problem. Try creating a spigot server perhaps?

Link to comment
Share on other sites

Link to post
Share on other sites

have you also forwared the port nn the router. if not go to this site on a how to portforward: http://portforward.com/

Specs: CPU: I5 6600K (4.5 GHZ), GPU: RX 480 (stock), Mobo: MSI Z170A tomahawk AC, RAM: Corsair 16GB drr4 2600, CASE: NZXT S340, storage 240GB crusial SSD and a 1TB WD HHD

Link to comment
Share on other sites

Link to post
Share on other sites

have you also forwared the port nn the router. if not go to this site on a how to portforward: http://portforward.com/

Already port forwarded the router, and that website cant forward my router

Link to comment
Share on other sites

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×