# Port 5985 (WinRM (HTTP))

> Port 5985 is the default port for Windows Remote Management over HTTP, which PowerShell remoting uses. Its IANA registration, transports and port range.

Source: https://networkutility.org/ports/port-5985/  
Section: Ports  
Updated: 2026-12-05

Port 5985 is registered with IANA under the service name `wsman`, on TCP and UDP. It is one of the registered (user) ports, 1024 to 49151.

## IANA registration

This is the assignment for port 5985 exactly as the registry lists it, one row per service name and transport.

| Service name | Transport | Description | Reference |
| --- | --- | --- | --- |
| `wsman` | TCP | WBEM WS-Management HTTP | None listed |
| `wsman` | UDP | WBEM WS-Management HTTP | None listed |

Source: [IANA Service Name and Transport Protocol Port Number Registry](https://www.iana.org/assignments/service-names-port-numbers/service-names-port-numbers.xhtml), as downloaded on December 5, 2026. The registry changes over time; the linked page is the authority.

A registration records who a port number is assigned to. It does not prove that whatever is listening on the port is that service, and it does not mean the service uses every transport listed: older entries were routinely registered for both TCP and UDP.

## In practice

*This section is written by Network Utility. It is not part of the IANA registry.*

Port 5985 is the default port for Windows Remote Management over HTTP, which PowerShell remoting uses.

Related ports: [5986 (WinRM (HTTPS))](/ports/port-5986/).

## Port range

Port 5985 falls in the **registered (user) port** range, 1024 to 49151. RFC 6335 calls these User Ports. IANA assigns them on request through IETF Review, IESG Approval or Expert Review. Any program can listen on them without special privileges, so it is common to find software using a port in this range that is registered to something else.

The other ranges are well-known (system) ports (0 to 1023) and dynamic (private) ports (49152 to 65535). The ranges and the assignment rules are defined in [RFC 6335](https://www.rfc-editor.org/rfc/rfc6335).

Look up another port in the [port table](/port-lookup/).
