Because Windows Firewall restricts communication between your computer and the Internet, you might need to change settings for Remote Desktop Connection so that it can work properly.
Open Windows Firewall by clicking the Start button , and then clicking Control Panel. In the search box, type firewall, and then click Windows Firewall.
In the left pane, click Allow a program or feature through Windows Firewall.
Click Change settings.
If you're prompted for an administrator password or confirmation, type the password or provide confirmation.
Under Allowed programs and features, select the check box next to Remote Desktop, and then use the check boxes in the columns to select the network location types you want to allow communication on.
If the Change settings button is unavailable, you might not have permissions to change some settings that are managed by your system administrator.