The following article will help you to open ports in Windows Firewall with Windows Server 2012 operating system.
1. Click on Windows Button.
2. Hit on Windows Administrative Tools Button.
3. Click on Windows Firewall With Advanced Security.
4. At Windows Firewall With Advanced Security, click on Inbound Rules >> New Rule.
5. At New Inbound Rule Wizard, Select thePort Radio button and click Next.
6. Select TCP/UDP & specify the port you wish to open in the Specific Local Ports box OR check All local ports & click Next.
7. Select Allow the connection & click Next.
8. Select the area where you want to apply this rule and click Next.
9. Provide the Name & Description for the newly created rule & click Finish.
The new rule will reflect in Windows Firewall With Advanced Security.