- Require authentication and TLS on brokers and coordination services.
- Restrict clients by network and per-topic or per-queue permissions.
- Remove default accounts.
Port 1881: IBM WebSphere MQ Everyplace
Port 1881 is assigned by IANA to ibm-mqseries2 (IBM WebSphere MQ Everyplace).
How ibm-mqseries2 works
Messaging & queuesProducers publish messages into a queue on port 1881; consumers pick them up in order, at their own pace.
- 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
- Messaging & queues
Is port 1881 dangerous?
We have no specific security note for port 1881. Its risk depends on the program actually listening on it. General advice for messaging & queues services:
IANA registry entries for port 1881
| Service | Port | Transport | Description | Reference | Updated |
|---|---|---|---|---|---|
| ibm-mqseries2 | 1881 | TCP, UDP | IBM WebSphere MQ Everyplace | - | - |
// source: IANA service name and port number registry
Which program uses port 1881, and is it reachable?
Linux
sudo ss -ltnup 'sport = :1881' # process listening on 1881
sudo lsof -nP -i :1881macOS
sudo lsof -nP -i :1881
Windows (PowerShell)
Get-NetTCPConnection -LocalPort 1881 -State Listen | Select LocalAddress, OwningProcess Get-NetUDPEndpoint -LocalPort 1881 netstat -ano | findstr :1881
From another machine
nmap -p 1881 -sV <host> sudo nmap -sU -p 1881 <host> nc -zv <host> 1881
Block it in the firewall
sudo ufw deny 1881/tcp # Linux (ufw) New-NetFirewallRule -DisplayName "Block 1881" -Direction Inbound -LocalPort 1881 -Protocol TCP -Action Block # Windows
What is port 1881 used for?
Port 1881 is assigned by IANA to ibm-mqseries2 (IBM WebSphere MQ Everyplace).
Is port 1881 TCP or UDP?
Port 1881 is registered for TCP and UDP.
Is it safe to open port 1881?
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. Require authentication and TLS on brokers and coordination services.
How do I check if port 1881 is open?
On Linux run "ss -ltnup 'sport = :1881'", on macOS "lsof -nP -i :1881", and on Windows "netstat -ano | findstr :1881" to see the local process. From another machine, "nmap -p 1881 <host>" shows whether it is reachable.