CyberHunter
// Web

Port 1001: HTTP Web Push

Port 1001 is assigned by IANA to webpush (HTTP Web Push).

1001

How webpush works

Web
browser:1001webpush browser:1001webpush

A browser sends an HTTP request to port 1001 and the webpush server sends the page back.

Transport
TCP
Exposure risk
not rated depends on the program listening
Encryption
Unknownnot stated by the registry
IANA status
Assigned1 registered service
Range
Well-known (0-1023)
Category
Web
01 Security

Is port 1001 dangerous?

We have no specific security note for port 1001. 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 1001

ServicePortTransportDescriptionReferenceUpdated
webpush 1001 TCP HTTP Web Push RFC 8030 2016-11-01
-1001-Reserved--

// source: IANA service name and port number registry

03 Check it

Which program uses port 1001, and is it reachable?

Linux

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

macOS

sudo lsof -nP -i :1001

Windows (PowerShell)

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

From another machine

nmap -p 1001 -sV <host>
nc -zv <host> 1001

Block it in the firewall

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

Port 1001 is assigned by IANA to webpush (HTTP Web Push).

Is port 1001 TCP or UDP?

Port 1001 is registered for TCP.

Is it safe to open port 1001?

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 1001 is open?

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

05 Related