A WSD port is a Windows printer port that uses Web Services for Devices (WSD) to find a network printer and send print jobs to it. Windows creates it automatically when it discovers a WSD-capable printer on your network, and the WSD port monitor (wsdmon) manages it.
If you opened Printer properties and saw a port named something like WSD- followed by a long string of letters and digits, that is this port. It is not a USB port and not a plain IP address. This article explains what it is, how it differs from a Standard TCP/IP port, and how to check or change the port your printer uses.
What does WSD stand for?
WSD stands for Web Services on Devices. Microsoft's documentation uses both "Web Services on Devices" and "Web Services for Devices" for the same technology. The Windows API behind it, WSDAPI, is Microsoft's implementation of the Devices Profile for Web Services (DPWS). Microsoft describes DPWS as constraining web service specifications so that clients can easily discover devices. After a device is discovered, the client can read a description of the services the device offers and use them.
Printers are one kind of device. Microsoft's own examples of devices on the network include printers, web cameras and video systems. For printing, Microsoft defined WS-Print, a protocol for printing and scanning peripherals. Windows 8 updated it to version 1.1, and Windows 8.1 updated it to version 1.2.
What does a WSD port do?
The WSD port monitor is the part of Windows that sits between the print queue and the printer. Microsoft's WSDMON documentation lists what it can do:
- Discover network printers and install them.
- Send jobs to WSD printers.
- Monitor the status and configuration of the printer and update the printer object's status.
- Respond to bidirectional (bidi) queries, and send notifications when bidi values change.
Microsoft says WSDMON operates in a manner similar to the TCP/IP port monitor, but it does not support the AddPort, DeletePort and MonitorUI commands. In practice that means you do not add a WSD port by hand the way you add a TCP/IP port. Windows creates it when it finds the printer. The documentation also says WSDMON was new in Windows Vista.
Because the monitor listens for WSD events, the printer's status in Windows (ready, offline, low on ink) can update without you polling it.
How a WSD port finds the printer
A TCP/IP port stores an address. A WSD port stores an identity. Microsoft explains that every WSD device is given a globally unique identifier, a UUID, when it is manufactured, and that this identifier never changes. When the device powers on, it announces that logical address with a WS-Discovery Hello message. Clients resolve it to a physical address, typically an HTTP address, with Resolve or Probe messages.
Once Windows has a valid IP address, messaging happens over that address. Microsoft says WS-Discovery is then used only if the address changes, the device changes state and clients need to be told, or the device goes offline. The documentation's own example is a laptop that should recognise the same device when it gets a new IP address on another subnet.
This is the main practical difference from a fixed IP port. If your router gives the printer a new address, a WSD port can follow the printer, because Windows looks it up by identity.
Network ports and protocols WSD uses
Microsoft's Performance team describes the traffic like this (the post describes Windows Vista and Server 2008, so check your own firewall rules against current Windows):
| Message | Transport | Port |
|---|---|---|
| Hello, Bye, Resolve, ResolveMatches | UDP multicast | 3702 |
| Probe (not directed) | UDP | 3702 |
| Get, GetResponse | HTTP | TCP 5357 |
| Get, GetResponse (secure) | HTTPS | TCP 5358 |
The same post says the WSD port monitor is used by default for WSD-based print devices, and that the Standard TCP/IP port monitor is used if the device does not support WSD. It also notes that multicast can be disabled by setting IGMPLevel to 0 in the Tcpip Parameters registry key. Microsoft's pages I read do not state how far discovery reaches across subnets, so check your network setup if a printer on another VLAN is never found.
WSD port vs Standard TCP/IP port
| Point | WSD port | Standard TCP/IP port |
|---|---|---|
| Port monitor | WSDMON | TCPMON |
| Created | Automatically, when Windows discovers the printer | By you, or by a driver installer, with an address you supply |
| Tracks the printer by | Its WSD identity, resolved by WS-Discovery | The IP address or host name stored in the port |
| If the printer's IP address changes | Windows can find it again through discovery | The port keeps pointing at the old address until you edit it |
| Status updates | Listens for WSD events | Depends on the driver and the printer's protocols |
Neither is better for every case. A WSD port needs no setup at home. A fixed TCP/IP port is easier to reason about in an office with a managed address plan.
How to see which port your printer uses
In PowerShell, list the printers and their ports. No administrator rights are needed for Get-PrinterPort, according to Microsoft:
Get-Printer | Select-Object Name, PortName
Get-PrinterPort
Example output (names and identifiers will differ on your PC, and the long identifier is shortened here):
Name PortName
---- --------
Office Printer WSD-1a2b3c4d-...
Microsoft Print to PDF PORTPROMPT:
You can also open Settings > Bluetooth & devices > Printers & scanners, select the printer, open Printer properties, and look at the Ports tab. The ticked port is the one the printer uses.
How to switch a printer from a WSD port to a TCP/IP port
People usually switch when a WSD printer keeps going offline, when it is on another subnet, or when a manufacturer's software expects an IP port. Before you start, give the printer a fixed address or a DHCP reservation in your router, then note its IP address (most printers can print a network status page).
Create the TCP/IP port and assign it to the printer. The Add-PrinterPort command is documented in the add a network printer guide; Set-Printer takes a -PortName parameter that Microsoft describes as the name of the port used or created for the printer. Microsoft says you need administrator credentials to run Set-Printer.
Add-PrinterPort -Name "IP_192.168.1.50" -PrinterHostAddress "192.168.1.50"
Set-Printer -Name "Office Printer" -PortName "IP_192.168.1.50"
Replace the port name, address and printer name with your own. Then print a test page from Printer properties. If it fails, set the printer back to its old port the same way. Changing the port does not delete the printer, its driver or its queue.
Why a WSD printer might show offline
A WSD port depends on discovery. If the PC and the printer are on different networks (an extender, a guest network, a second router), multicast discovery will not work the way it does on one network. If the printer is asleep or its network card is off, it may not answer. Work through the steps in the offline printer guide first. If the printer keeps dropping off, a TCP/IP port with a reserved address is the usual alternative.
Is WSD still the recommended way to print?
Microsoft's WS-Print page now carries a note that the modern print platform is Windows' preferred means of communicating with printers. For printer development in Windows 10 and 11 it recommends Microsoft's IPP inbox class driver together with Print Support Apps. That does not remove WSD from Windows, and existing WSD printers keep working. It does mean that a new printer on a current Windows version may be added over IPP instead of WSD.
Frequently asked questions
- Is a WSD port the same as a TCP/IP port?
- No. Both carry print jobs to a network printer, but they are handled by different Windows port monitors. A WSD port uses the WSD port monitor (WSDMON), which discovers the printer and tracks its status through Web Services for Devices. A Standard TCP/IP port uses the TCP/IP port monitor (TCPMON) and is tied to a fixed IP address or host name.
- Is a WSD port safe to use?
- A WSD port is a normal part of Windows and not a security risk by itself. It relies on multicast discovery on your local network, so it is meant for printers on the same subnet as the PC. If you manage printers in an office, follow your IT team's policy on which port type to use.
- Can I change a WSD port to a TCP/IP port?
- Yes. Create a Standard TCP/IP port that points at the printer's address, then assign it to the printer, either in Printer properties on the Ports tab or with Set-Printer -PortName. Reserve a fixed address for the printer in your router first, so the port keeps working.
- Why does my WSD printer show as offline?
- A WSD port depends on Windows being able to discover and reach the printer on the network. If the printer is on another network, asleep, or not answering discovery messages, Windows can report it as offline. The offline printer guide on this site lists the usual fixes.