Port 3478
stun, stun-behavior and turn · TCP/UDP
| Range | Registered port (1024–49151) |
|---|---|
| Protocol | TCP/UDP |
| Service | stun, stun-behavior and turn |
| Reference | RFC 8489, RFC 8656, RFC 5780 |
| Modified | 2019-08-02 |
Frequently asked questions
What is port 3478 used for?
Port 3478 is registered with the IANA for stun, stun-behavior and turn (TCP/UDP). Description: Session Traversal Utilities for NAT (STUN) port; TURN over TCP; TURN over UDP.
Is port 3478 a well-known port?
No. Port 3478 is in the range 1024–49151 (registered or user ports). Ordinary programs may open it without root privileges.
How do I check whether port 3478 is open?
Locally on Linux with ss -tulpn | grep ':3478\b', on Windows with netstat -ano | findstr :3478. To test a remote host use Test-NetConnection <host> -Port 3478 in PowerShell or nc -zv <host> 3478 on Linux/macOS.
How do I open port 3478 in the firewall?
Ubuntu/Debian (ufw): sudo ufw allow 3478/tcp. Fedora/RHEL (firewalld): sudo firewall-cmd --add-port=3478/tcp --permanent, then firewall-cmd --reload. Windows (PowerShell as administrator): New-NetFirewallRule -DisplayName "Port 3478" -Direction Inbound -Protocol TCP -LocalPort 3478 -Action Allow.
IANA registry entries
| Protocol | Service | Description (IANA) |
|---|---|---|
| TCP | stun | Session Traversal Utilities for NAT (STUN) port |
| UDP | stun | Session Traversal Utilities for NAT (STUN) port |
| TCP | turn | TURN over TCP |
| UDP | turn | TURN over UDP |
| TCP | stun-behavior | STUN Behavior Discovery over TCP |
| UDP | stun-behavior | STUN Behavior Discovery over UDP |