Port 542

commerce · TCP/UDP

RangeSystem/well-known port (0–1023)
ProtocolTCP/UDP
Servicecommerce

Frequently asked questions

What is port 542 used for?

Port 542 is registered with the IANA for commerce (TCP/UDP). Description: commerce.

Is port 542 a well-known port?

Yes. Port 542 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 542 is open?

Locally on Linux with ss -tulpn | grep ':542\b', on Windows with netstat -ano | findstr :542. To test a remote host use Test-NetConnection <host> -Port 542 in PowerShell or nc -zv <host> 542 on Linux/macOS.

How do I open port 542 in the firewall?

Ubuntu/Debian (ufw): sudo ufw allow 542/tcp. Fedora/RHEL (firewalld): sudo firewall-cmd --add-port=542/tcp --permanent, then firewall-cmd --reload. Windows (PowerShell as administrator): New-NetFirewallRule -DisplayName "Port 542" -Direction Inbound -Protocol TCP -LocalPort 542 -Action Allow.

IANA registry entries

ProtocolServiceDescription (IANA)
TCPcommercecommerce
UDPcommercecommerce

Nearby entries