- 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.
Port 2381: Compaq HTTPS
Port 2381 is assigned by IANA to compaq-https (Compaq HTTPS).
How compaq-https works
WebA browser sends an HTTP request to port 2381 and the compaq-https 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
Is port 2381 dangerous?
We have no specific security note for port 2381. Its risk depends on the program actually listening on it. General advice for web services:
IANA registry entries for port 2381
| Service | Port | Transport | Description | Reference | Updated |
|---|---|---|---|---|---|
| compaq-https | 2381 | TCP, UDP | Compaq HTTPS | - | - |
// source: IANA service name and port number registry
Which program uses port 2381, and is it reachable?
Linux
sudo ss -ltnup 'sport = :2381' # process listening on 2381
sudo lsof -nP -i :2381macOS
sudo lsof -nP -i :2381
Windows (PowerShell)
Get-NetTCPConnection -LocalPort 2381 -State Listen | Select LocalAddress, OwningProcess Get-NetUDPEndpoint -LocalPort 2381 netstat -ano | findstr :2381
From another machine
nmap -p 2381 -sV <host> sudo nmap -sU -p 2381 <host> nc -zv <host> 2381
Block it in the firewall
sudo ufw deny 2381/tcp # Linux (ufw) New-NetFirewallRule -DisplayName "Block 2381" -Direction Inbound -LocalPort 2381 -Protocol TCP -Action Block # Windows
What is port 2381 used for?
Port 2381 is assigned by IANA to compaq-https (Compaq HTTPS).
Is port 2381 TCP or UDP?
Port 2381 is registered for TCP and UDP.
Is it safe to open port 2381?
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 2381 is open?
On Linux run "ss -ltnup 'sport = :2381'", on macOS "lsof -nP -i :2381", and on Windows "netstat -ano | findstr :2381" to see the local process. From another machine, "nmap -p 2381 <host>" shows whether it is reachable.