Merry Christmas & Happy 2027! Less downtime. More good times. Celebrating 13 years of sorlavit.com
Skip to content
Sorlavit KimIT Support, Network & Infrastructure Services Let’s talk

Articles are written in English. The Thai translation button opens Google Translate; code and commands stay in their original form.

Windows Server / DNS, DHCP & Server Networking

Check whether the intended Windows RDP endpoint is listening

A running server can reject Remote Desktop because its listener, service or access path is wrong. Inspect the local socket before altering firewall policy.

Compiled for Sorlavit Kim · Published · Updated · 1 min read

Environment and inputs: Windows Server 2022 / 2025 baseline · Windows PowerShell with the specified role or RSAT modules; native utilities are identified in the text. Use delegated administration and elevation only where required.

Start with this check

Check the computer, command shell and account permissions. Replace example names, file paths, domains and interfaces with approved values. These commands help investigate the problem. Before making changes, check the rules and the effect on running applications.

Get-NetTCPConnection -State Listen -LocalPort 3389

What the results mean

In PowerShell on a server using the standard RDP port, this reports a local TCP listener if one exists. Alternate ports and gateways require different checks.

Fix the cause and check again

Compare the socket and service state with the approved RDP design, then test through the required gateway or private network. Review the actual sign-in error separately.

Before changing production

Do not expose RDP publicly or assume an open socket proves user authorization and Network Level Authentication work.

Share this article

Back to all articles