netsh advfirewall firewall add rule name="minecraft server port 25565" dir=in action=allow protocol=TCP localport=25565
Open up an elevated command prompt and type that command. It'll create an exception for inbound TCP traffic, coming in on port 25565. If you're worried about security, you can use the command,
netsh advfirewall firewall set rule name="minecraft server port 25565" new enable=no
To disable the rule.
Finally,
netsh advfirewall firewall set rule name="minecraft server port 25565" new enable=yes
To re-enable the rule.
If you don't run cmd prompt with elevated privileges, you'll get the error, "The requested operation requires elevation (Run as administrator)."
Well, nice try, but it's still not working. Still can't see myself through the 25665 port with canyouseeme.org. Like I said, I already set up rules in the advanced settings of the Windows Firewall. The rules are there. They're just not working.
Actually, you're right, it doesn't work; I ran into the same problem. I had to allow java.exe through in order to connect to it. After that, there were no problems. So my question to you is do you actually use java.exe to run the server? Or do you use javaw.exe?
If it's still messing up, you can enable the firewall logging, though how much that'll help, I don't know lol.
It's javaw.exe. I just noticed that even though I'd set up a rule to allow inbound traffic from javaw.exe, it was actually set to blocking it. Weird. I rechecked allow, so maybe that will fix it. I don't know. I'm still not able to access the port through canyouseeme.org, but maybe that won't matter. I won't be able to test it for a few days though.
In any event, thanks for the help. I'll post back here the results once I'm able to give it another go later this week.
I also have the same issue too, but I'm running bukkit (I don't know if it will make any difference). I have Mcafee Security Center. I went to canyouseeme.org and it says "Success!" when I turn off my firewall. I tried to use the inbound and outbound rule solution but it didn't work for me.
what network service does Mojang use to authenticate user accounts?
i think i was having issues with vulnerabilities and DMZ and that possibly something getting through the actual server on to the network itself. i think it's an outbound rule but not sure
(i'm using Win Server 2012 R2)
also related i have an asus router (with asus's deployment of dd-wrt) without additional equipment or a more "featured" brew of DD-WRT is there any way to isolate the ethernet port that the server is on without going
Cable ---> Server ---> Router?
which doing so MAY disrupt my mothers work if i again don't set up the server's firewall properly.
Wait for windows to prompt me if I would like to allow private and public networks.
Checked the appropriate boxes and click on Always Allow.
Now I am able to connect.
It seems that if you have allowed or denied other java based applications, WF may have trouble distinguish them because they all start with java.exe. Also this seems to reset everytime there is a new iteration of the 64bit version of JAVA. I hope this helps.
Open up an elevated command prompt and type that command. It'll create an exception for inbound TCP traffic, coming in on port 25565. If you're worried about security, you can use the command,
To disable the rule.
Finally,
To re-enable the rule.
If you don't run cmd prompt with elevated privileges, you'll get the error, "The requested operation requires elevation (Run as administrator)."
If it's still messing up, you can enable the firewall logging, though how much that'll help, I don't know lol.
In any event, thanks for the help. I'll post back here the results once I'm able to give it another go later this week.
what network service does Mojang use to authenticate user accounts?
i think i was having issues with vulnerabilities and DMZ and that possibly something getting through the actual server on to the network itself. i think it's an outbound rule but not sure
(i'm using Win Server 2012 R2)
also related i have an asus router (with asus's deployment of dd-wrt) without additional equipment or a more "featured" brew of DD-WRT is there any way to isolate the ethernet port that the server is on without going
Cable ---> Server ---> Router?
which doing so MAY disrupt my mothers work if i again don't set up the server's firewall properly.