zantilles Posted August 27, 2013 Share Posted August 27, 2013 hello to the creation of a minecraft server the port does not open automatically how. (os: windows server 2012) Link to comment Share on other sites More sharing options...
CloudCUBE Posted August 27, 2013 Share Posted August 27, 2013 That's because TCAdmins default firewall rules aren't really fantastic. TCAdmin will allow the application to use any port (pointless really) since Minecraft is a Java process you need to allow the Java application inbound connections. TL;DR Use this script. Add it in Games > Minecraft > Custom Scripts -- Before Created -- netsh advfirewall firewall add rule name="ID:%ThisService_ServiceId% USER:%ThisUser_UserName% GAME:%ThisGame_ShortName% IP/PORT:%ThisService_ConnectionInfo% TCP" dir=in action=allow program="C:\TCAFiles\Users\%ThisUser_UserName%\%ThisService_ServiceId%\Java\jre7\bin\java.exe" localport="%ThisService_GamePort%,%ThisService_RConPort%,%ThisService_CustomPort1%,%ThisService_CustomPort2%,%ThisService_CustomPort3%,%ThisService_CustomPort4%,%ThisService_CustomPort5%" protocol=TCP -- Before Deleted -- netsh advfirewall firewall delete rule name="ID:%ThisService_ServiceId% USER:%ThisUser_UserName% GAME:%ThisGame_ShortName% IP/PORT:%ThisService_ConnectionInfo% TCP" Link to comment Share on other sites More sharing options...
zantilles Posted August 27, 2013 Author Share Posted August 27, 2013 (edited) thank you but I think there are errors in the first script because the ports are not open Edited August 27, 2013 by zantilles Link to comment Share on other sites More sharing options...
CloudCUBE Posted August 27, 2013 Share Posted August 27, 2013 (edited) Make sure you remove any spaces within the text Edit: silly me. copy your java folder from Program Files into the Minecraft folder. Edited August 28, 2013 by CloudCUBE Link to comment Share on other sites More sharing options...
zantilles Posted August 28, 2013 Author Share Posted August 28, 2013 Hello I added this line (netsh advfirewall firewall add rule name="ID:%ThisService_ServiceId% USER:%ThisUser_UserName% GAME:%ThisGame_ShortName% IP/PORT:%ThisService_ConnectionInfo% TCP" dir=in action=allow program="C:\TCAFiles\Users\%ThisUser_UserName%\%ThisService_ServiceId%\Java\jre7\bin\java.exe" localport="%ThisService_GamePort%,%ThisService_RConPort%,%ThisService_CustomPort1%,%ThisService_CustomPort2%,%ThisService_CustomPort3%,%ThisService_CustomPort4%,%ThisService_CustomPort5%" protocol=TCP) but the ports still does not Link to comment Share on other sites More sharing options...
HIS-MOTHER Posted August 28, 2013 Share Posted August 28, 2013 You have spaces in some of the code. ThisService_Cu stomPort4% ThisService_RCo nPort% ThisService_Cust omPort2% might be more i just spotted those with a glance. Link to comment Share on other sites More sharing options...
zantilles Posted August 28, 2013 Author Share Posted August 28, 2013 I removed the spaces but nothing works Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now