Port 2540

lonworks · TCP/UDP

RangeRegistered port (1024–49151)
ProtocolTCP/UDP
Servicelonworks

Frequently asked questions

What is port 2540 used for?

Port 2540 is registered with the IANA for lonworks (TCP/UDP). Description: LonWorks.

Is port 2540 a well-known port?

No. Port 2540 is in the range 1024–49151 (registered or user ports). Ordinary programs may open it without root privileges.

How do I check whether port 2540 is open?

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

How do I open port 2540 in the firewall?

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

IANA registry entries

ProtocolServiceDescription (IANA)
TCPlonworksLonWorks
UDPlonworksLonWorks

Nearby entries