When you build non-production lab environment internal Windows Firewall could be source of connectivity errors. Usually I’m disabling Windows Firewall at all.
From command prompt with PowerShell you can easily disable Firewall in Windows Server 2012:
Get-NetFirewallProfile | Set-NetFirewallProfile –Enabled False
For your information: we can easy find Firewall-related PowerShell cmdlets with following request:
You can also disable the Firewall from a command line without powershell
Run the following command :
netsh advfirewall set allprofiles state off