Port 5683: CoAP

Port 5683 (UDP) is used by CoAP. Constrained Application Protocol for tiny IoT devices.

5683Port
UDPProtocol
coapIANA service name
IoT & industrialCategory

Port range

5683 is a registered port (range 1024–49151). Any user can bind to it; IANA records which service registered the number.

Security

Port 5683 should not be reachable from the public internet. Restrict it to trusted networks or a VPN, and scan your public IP to confirm it is closed.

Open port 5683 in a firewall

ufw         sudo ufw allow 5683/udp
iptables    sudo iptables -A INPUT -p udp --dport 5683 -j ACCEPT
firewalld   sudo firewall-cmd --permanent --add-port=5683/udp
Windows     New-NetFirewallRule -DisplayName "CoAP 5683" -Direction Inbound -Protocol UDP -LocalPort 5683 -Action Allow

Check if port 5683 is open

nc -vzu example.com 5683   # UDP checks are unreliable: no reply ≠ closed
sudo ss -tulpn | grep ':5683 '   # what is listening locally (Linux)

Other iot & industrial ports

Frequently asked questions

What is port 5683 used for?
CoAP. Constrained Application Protocol for tiny IoT devices.
Is port 5683 TCP or UDP?
UDP.