If you are using the Windows Server 2008 or Windows Server 2012 and if the Windows Firewall is blocking any Incoming or Outgoing connections then, It is very easy to allow the specific and required Incoming and Outgoing the traffic by opening the ports in to Windows Firewall.
Follow the below steps to open the Firewall Ports in Windows Server 2k8 or Windows Server 2k12:
1. Go to Start >> Administrative Tools >> Windows Firewall with Advanced Security.
2. Click on Inbound Rules >> New Rule >> Select Port >> Click Next >> Select the port whether it is TCP or UDP.
3. Select the specified Local Ports and type the port number which needs to be open >> Click Next >> Select Allow the connection option >> Next >> Next >> Type the Name of the port and Finish.
Its Done, Now check the connection which was getting blocked before by the Windows Firewall. Now it will communication without any issue :).