CyberHunter
Local dataset, no network
// Web

Port 5357: Web Services for Devices

Port 5357 is assigned by IANA to wsdapi (Web Services for Devices).

5357

How wsdapi works

Web
browser:5357wsdapi browser:5357wsdapi

A browser sends an HTTP request to port 5357 and the wsdapi server sends the page back.

Transport
TCP · UDP
Exposure risk
not rated depends on the program listening
Encryption
Unknownnot stated by the registry
IANA status
Assigned1 registered service
Range
Registered (1024-49151)
Category
Web
01 Security

Is port 5357 dangerous?

We have no specific security note for port 5357. Its risk depends on the program actually listening on it. General advice for web services:

  • Serve it over HTTPS only and check the HTTP security headers.
  • Keep admin consoles and development servers off the Internet.
  • Patch the application server and remove default credentials and sample apps.
02 Registry

IANA registry entries for port 5357

ServicePortTransportDescriptionReferenceUpdated
wsdapi 5357 TCP, UDP Web Services for Devices - 2005-08

// source: IANA service name and port number registry

03 Check it

Which program uses port 5357, and is it reachable?

Linux

sudo ss -ltnup 'sport = :5357'      # process listening on 5357
sudo lsof -nP -i :5357

macOS

sudo lsof -nP -i :5357

Windows (PowerShell)

Get-NetTCPConnection -LocalPort 5357 -State Listen | Select LocalAddress, OwningProcess
Get-NetUDPEndpoint -LocalPort 5357
netstat -ano | findstr :5357

From another machine

nmap -p 5357 -sV <host>
sudo nmap -sU -p 5357 <host>
nc -zv <host> 5357

Block it in the firewall

sudo ufw deny 5357/tcp                                         # Linux (ufw)
New-NetFirewallRule -DisplayName "Block 5357" -Direction Inbound -LocalPort 5357 -Protocol TCP -Action Block  # Windows
04 FAQ
What is port 5357 used for?

Port 5357 is assigned by IANA to wsdapi (Web Services for Devices).

Is port 5357 TCP or UDP?

Port 5357 is registered for TCP and UDP.

Is it safe to open port 5357?

It depends on the program that listens on it. Open it only for a service you know and only to the networks that need it. Serve it over HTTPS only and check the HTTP security headers.

How do I check if port 5357 is open?

On Linux run "ss -ltnup 'sport = :5357'", on macOS "lsof -nP -i :5357", and on Windows "netstat -ano | findstr :5357" to see the local process. From another machine, "nmap -p 5357 <host>" shows whether it is reachable.

05 Related

Latest vulnerability news

All news