Share via

Arc Machine WAC

Handian Sudianto 7,141 Reputation points
2026-05-15T00:12:37.0333333+00:00

We set custom port for RDP, how we can connect thru admin center from portal azure if the RDP port is custom?

Azure Arc
Azure Arc

A Microsoft cloud service that enables deployment of Azure services across hybrid and multicloud environments.


2 answers

Sort by: Most helpful
  1. Bharath Y P 9,090 Reputation points Microsoft External Staff Moderator
    2026-05-19T22:04:40.5+00:00

    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:

    1. Add a second RDP listener on 3389
      • On your server, go into the registry under HKLM\SYSTEM\CurrentControlSet\Control\Terminal Server\Wds\rdpwd\Tds\tcp and add or duplicate a listener entry with PortNumber = 3389.
      • Restart RDP (or reboot).
      • The portal will connect on 3389 as expected, and you can still RDP directly to 13389 if you like.
    2. 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.
    3. 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:

    Was this answer helpful?

    0 comments No comments

  2. AI answer

    2026-05-15T00:12:47.6633333+00:00

    Windows Admin Center (WAC) connectivity from the Azure portal to an Azure Arc-enabled server does not depend on the RDP port and does not require any inbound RDP access.

    Key points:

    1. WAC uses the Azure Arc connectivity platform
      • Traffic flows via a reverse proxy over outbound web sockets from the Azure Connected Machine agent to Azure, not over RDP.
      • No inbound port is required on the Arc machine for WAC.
      • The local port that matters for WAC is the WAC HTTPS port (commonly 6516), not the RDP port.
    2. Configure the WAC port for Arc connectivity
      • Ensure the WAC port is allowed in the Arc connectivity agent configuration:
             azcmagent config list
        
        Confirm the WAC port (for example 6516 or your chosen port) appears under incomingconnections.ports (preview).
      • If it is missing, add it:
             azcmagent config set incomingconnections.ports <wac-port>
        
        Multiple ports can be comma-separated if using other scenarios like SSH.
    3. Install and connect to WAC from the Azure portal
      • On the Arc-enabled server resource in the Azure portal:
        1. Go to Windows Admin Center under Settings.
        2. Install the Windows Admin Center extension and specify the desired WAC port.
        3. After installation, select Windows Admin Center (preview)Connect.
      • Authentication is via Microsoft Entra ID (no local admin credentials required).
    4. Ensure outbound connectivity
      • Outbound HTTPS (443) from the Arc machine to the required Azure endpoints must be allowed so the reverse proxy and certificate service can function.
      • No change is required for the custom RDP port; WAC does not use it.

    In summary, a custom RDP port does not affect WAC connectivity from the Azure portal. Configure and expose the WAC HTTPS port via azcmagent and ensure outbound connectivity; then use the Windows Admin Center blade in the portal to connect.


    References:

    AI-generated content may be incorrect. Read our transparency notes for more information.

    Was this answer helpful?

Your answer

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