Allow remote desktop connections in windows firewall

Windows Firewall –> Advanced Settings –> Inbound Rules –> Remote Desktop - User Mode (TCP-in) –> Enable Rule