Tools / Port checker / Port 5985
Port 5985: WinRM (HTTP)
Windows Remote Management PowerShell remoting over HTTP.
Should port 5985 be open?
Should not face the public internet directly. Bind to localhost or a private network. Never expose WinRM to the public internet; restrict to management hosts or VPN.
Port 5985 still shows closed after router port forwarding?
If you opened TCP port 5985 on your router and host firewall yet external probes from Dallas, London, and Amsterdam still report No reply or Closed, your broadband ISP (such as Starlink, T-Mobile 5G Home Internet, or fiber CGNAT) likely places your router behind 100.64.0.0/10 Carrier-Grade NAT.
Verify your carrier in 5 seconds with our CGNAT Checker, or forward inbound TCP & UDP port 5985 cleanly to your home server using a dedicated public IPv4 on PrivateByte Static IP Gateway ($3/mo) (or our open-source Docker WireGuard sidecar).
Opening port 5985 in a server firewall
Replace 203.0.113.10 with the address that needs access, so only that address can reach the port.
Ubuntu or Debian with UFW:
sudo ufw allow from 203.0.113.10 to any port 5985 proto tcpRocky, Alma or CentOS with firewalld:
sudo firewall-cmd --permanent --add-port=5985/tcp && sudo firewall-cmd --reloadWindows Server, in PowerShell as administrator:
New-NetFirewallRule -DisplayName "Port 5985" -Direction Inbound -Protocol TCP -LocalPort 5985 -Action AllowThen check that the service listens on 0.0.0.0 (not only 127.0.0.1) and test again above.
Embed live server status & latency badge
Running a game server, public API, or open-source node? Generate a 5-minute cached live SVG status & millisecond RTT badge for your GitHub README, server list, or forum signature:
[](https://privatebyte.com/tools/port-checker/5985?host=one.one.one.one)<a href="https://privatebyte.com/tools/port-checker/5985?host=one.one.one.one"><img src="https://privatebyte.com/tools/badge/live.svg?host=one.one.one.one&port=5985" alt="one.one.one.one:5985 status via PrivateByte" height="22"></a>[url=https://privatebyte.com/tools/port-checker/5985?host=one.one.one.one][img]https://privatebyte.com/tools/badge/live.svg?host=one.one.one.one&port=5985[/img][/url]Check another port (150 documented ports)
Run your service on a PrivateByte KVM NVMe server (from $5.99/mo): dedicated IPv4, unmetered traffic, and every port yours to control.