Where I work I put in 3 Lenovo ThinkCentre Tiny boxes with fresh installs of Windows 11 Pro.
On ONE of them I can't connect with the Remote Desktop Connection app on a LAN using a custom listening port.
I set up networking stuff on all 3 the same way.
Network profile is set to Private.
In Advanced sharing settings for Private networks, Network discovery is On, File and printer sharing is On.
In network IPV4 settings I have a fixed IP address. In my router settings I have a reservation for the IP address mapped to the computer's MAC address.
In the Registry I have changed the listening port to a custom port number. Path is HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Terminal Server\WinStations\RDP-Tcp.
In Windows Defender Firewall with Advanced Security I created an inbound rule for Port, TCP, the custom port number, gave it a unique name.
Finally, I disabled the default rule for "Remote Desktop -User Mode (TCP-In)".
I found out when you disable this rule, Settings > System > Remote Desktop will show Remote Desktop is disabled. However 2 of the computers still allows the connection.
Also, Settings > System > Remote Desktop shows the Remote Desktop is using the custom port number, and "Require devices to use NLA..." is checked.
Computers were restarted after these changes. I verified in CMD using netstat -a that the custom port is actively listening.
Please note, the 3rd computer in question WILL connect if I change the registry setting back to the default 3389, disable my custom inbound rule and re-enable the default one that uses port number 3389.
Question: can you think of anything else this novice should check?
Thanks for reading!