Minecraft portwarded and checked firewall, port still closed

May 20, 2014 at 10:01:43
Specs: Windows 8
Hey there, since the 1.7.9 update for Minecraft I've been unable to access my server.
I've checked my router, portforwaded and looked at my firewall settings.
All seems well.

My problem is that the 25565 port is still closed when I check with an open port tool and I'm receiving this error message when I start the server jar file

"17:56:04 INFO]: Starting minecraft server version 1.7.9
[17:56:04 ERROR]: Exception handling console input
java.io.IOException: The handle is invalid
at java.io.FileInputStream.readBytes(Native Method) ~[?:1.7.0_55]
at java.io.FileInputStream.read(Unknown Source) ~[?:1.7.0_55]
at java.io.BufferedInputStream.read1(Unknown Source) ~[?:1.7.0_55]
at java.io.BufferedInputStream.read(Unknown Source) ~[?:1.7.0_55]
at sun.nio.cs.StreamDecoder.readBytes(Unknown Source) ~[?:1.7.0_55]
at sun.nio.cs.StreamDecoder.implRead(Unknown Source) ~[?:1.7.0_55]
at sun.nio.cs.StreamDecoder.read(Unknown Source) ~[?:1.7.0_55]
at java.io.InputStreamReader.read(Unknown Source) ~[?:1.7.0_55]
at java.io.BufferedReader.fill(Unknown Source) ~[?:1.7.0_55]
at java.io.BufferedReader.readLine(Unknown Source) ~[?:1.7.0_55]
at java.io.BufferedReader.readLine(Unknown Source) ~[?:1.7.0_55]
at lu.run(SourceFile:81) [minecraft_server.1.7.9.jar:?]"

I'm really at a loss for what to do.
I'll post screenshots if necessary and any other information needed to sort this out!

Thank you in advance.

See More: Minecraft portwarded and checked firewall, port still closed

Report •

May 23, 2014 at 15:10:59
What are your parameters in your startup batch? "Exception handling console input" sounds like it was given an invalid switch.
Are you using Bukkit or Vanilla? The 1.7.9 Bukkit file is still a dev build and might not work properly yet. W

Not everyone can decipher Klingon script...
chay' ta' SoH tlhe' vam Doch Daq

message edited by OLDISGOOD

Report •

May 23, 2014 at 15:24:33
I'm using Vanilla Minecraft, I've never used Bukkit.
Unfortunately I'll risk sounding dumb here and ask what you mean exactly by the parameters in my startup batch.

Thanks for responding.

Report •

May 23, 2014 at 16:12:12
Well, most people who run servers use a run.bat file with custom parameters to customize things like how much RAM the server uses, whether it's online or offline (if you run cracked) if you need any patch flags etc. This only works with the .JAR files, if you have the .EXE it's standalone and doesn't normally need it. I was wondering as many people say that changing their RAM allocation up fixed the problem, as the server on default allocated 1 Gb.

Not everyone can decipher Klingon script...
chay' ta' SoH tlhe' vam Doch Daq

Report •

Related Solutions

May 26, 2014 at 10:44:25
Apologies for replying so late!

So how would I go about creating a run.bat file?

Report •

May 26, 2014 at 11:11:47
Just an update, I'm following through the steps on the Minecraft website.

I've created a bat. file now but I think the issue might be something to do with my Java.
Once I allocate the RAM and go through the instructions about Java I'll post back with my progress.

Report •

May 26, 2014 at 13:12:33
I've created the bat.file and I've put this text into the file:

"@echo off
java -Xms512M -Xmx1G -jar minecraft_server.1.7.9.jar"

This works fine and the cmd opens, server in theory is starting up with no errors.

However my ports are still closed, I double checked the firewall again, TCP and UDP in/outbound rules. The IP is the correct one...
So I'm confused as to why they're still saying they are closed.
Any suggestions on what I do here?

message edited by DigiPixel

Report •

February 13, 2015 at 02:13:40
Hello DigiPixel,
I would guess you won't ever see this reply

But if you havn't solved this problem
edit the server properties to another port and portforward it but then you have to connect to you server by also typing the port

if your public ip was 213.100.213 and you connected to it, then minecraft would put auto :25565 for you (stealthed)

so if you use another port like 4437
then you need to type 213.100.213:4437 and it should work (test using your utorrent port or something)

in my case i cannot even open any ports, portforward in my router shows that it's open but all the ping sites and other things says it's still closed

Report •

February 13, 2015 at 21:09:00
Mickow you do realize that the post you answered to is 9 months old!

Report •

Ask Question