Port 158
pcmail-srv · TCP/UDP
| Range | System/well-known port (0–1023) |
|---|---|
| Protocol | TCP/UDP |
| Service | pcmail-srv |
Frequently asked questions
What is port 158 used for?
Port 158 is registered with the IANA for pcmail-srv (TCP/UDP). Description: PCMail Server.
Is port 158 a well-known port?
Yes. Port 158 is in the range 0–1023 (system or well-known ports). On Linux and macOS only privileged processes may bind to these ports.
How do I check whether port 158 is open?
Locally on Linux with ss -tulpn | grep ':158\b', on Windows with netstat -ano | findstr :158. To test a remote host use Test-NetConnection <host> -Port 158 in PowerShell or nc -zv <host> 158 on Linux/macOS.
How do I open port 158 in the firewall?
Ubuntu/Debian (ufw): sudo ufw allow 158/tcp. Fedora/RHEL (firewalld): sudo firewall-cmd --add-port=158/tcp --permanent, then firewall-cmd --reload. Windows (PowerShell as administrator): New-NetFirewallRule -DisplayName "Port 158" -Direction Inbound -Protocol TCP -LocalPort 158 -Action Allow.
IANA registry entries
| Protocol | Service | Description (IANA) |
|---|---|---|
| TCP | pcmail-srv | PCMail Server |
| UDP | pcmail-srv | PCMail Server |