A Microsoft cloud service that enables deployment of Azure services across hybrid and multicloud environments.
Hello Handian, the built-in Windows Admin Center preview in the Azure Arc blade currently only spins up an RDP session to port 3389 – there’s no UI today to override that port. Since your box is now listening on 13389 only, the portal can’t reach it.
Here are a couple of ways to work around it:
- Add a second RDP listener on 3389
- On your server, go into the registry under
HKLM\SYSTEM\CurrentControlSet\Control\Terminal Server\Wds\rdpwd\Tds\tcpand add or duplicate a listener entry withPortNumber = 3389. - Restart RDP (or reboot).
- The portal will connect on 3389 as expected, and you can still RDP directly to 13389 if you like.
- On your server, go into the registry under
- Revert back to the default port 3389
- Change your RDP listener port to 3389.
- That way the portal’s one-click RDP will work without any special tweaks.
- Alternative methods
- Use an on-prem Windows Admin Center gateway build (you can customize ports there).
- For Azure VMs you could use Azure Bastion, which lets you manually specify a custom RDP port in the portal UX. (Note: Bastion isn’t available for Arc-enabled servers outside Azure.)
Right now there isn’t a built-in setting in the Azure Arc WAC preview to point at a custom port. If custom-port support via the portal is important, consider filing feedback on the Azure portal or vote up an existing feature request.
Hope this helps! Thanks
References:
- Quickstart: Connect hybrid machines with Azure Arc-enabled servers https://learn.microsoft.com/azure/azure-arc/servers/learn/quick-enable-hybrid-vm
- Cloud-native server management with Azure Arc-enabled servers https://learn.microsoft.com/azure/azure-arc/servers/cloud-native/overview?wt.mc_id=knowledgesearch_inproduct_azure-cxp-community-insider
- Choosing the right Azure Arc service for machines (Azure Arc-enabled servers) https://learn.microsoft.com/azure/azure-arc/choose-service?wt.mc_id=knowledgesearch_inproduct_azure-cxp-community-insider#azure-arc-enabled-servers