Windows 11 Firewall blocks RDP when all settings are correct

Robin Garrison 20 Reputation points
2024-01-24T18:28:23.9266667+00:00

I have two Windows 11 machines on my home network. I am able to remote into one machine with the firewall enabled (Settings: port = 3389, allow connections set to true for Private and Public). The 2nd machine only works if I disable the firewall (Settings: port = 3388, all other connections match). Both machines are wired and are set to Private network. Anybody have any suggestions?

Windows for business Windows Client for IT Pros User experience Remote desktop services and terminal services
Windows for business Windows Client for IT Pros User experience Other
0 comments No comments
{count} votes

Accepted answer
  1. Anonymous
    2024-01-25T02:57:53.1466667+00:00

    Hello Robin Garrison

    Did you change the default RDP listening port on the 2nd windows 11? You can check the current port by running the following PowerShell command:

    Get-ItemProperty -Path 'HKLM:\SYSTEM\CurrentControlSet\Control\Terminal Server\WinStations\RDP-Tcp' -name "PortNumber"
    
    • When you connect to a computer through the Remote Desktop client, the Remote Desktop feature on your computer "hears" the connection request through a defined listening port (3389 by default). If you change the port value, the next time you connect to this computer, you must type the new port. For example, if the new port is 3388, you would enter 192.168.1.2:3388.
    • If you're using a firewall, make sure to configure your firewall to permit connections to the new port number. Then verify that there are no conflicting rules or other rules blocking the Remote Desktop traffic.
    • Besides, are there any third-party security software or antivirus programs running on the machine where you're facing firewall issues? ---If the Answer is helpful, please click "Accept Answer" and upvote it.

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.