What TURN is
TURN is a protocol that helps two devices communicate by relaying data between them through a server, for situations where they cannot connect directly. Its name reflects the idea of traversal using relays around network address translation. When restrictive networks prevent a direct connection, TURN provides a fallback by passing the data through an intermediary server that both devices can reach.
When direct connections fail
Devices often prefer to connect directly for efficiency, but sometimes the networks they are on - with their routers, address translation, and firewalls - make a direct connection impossible. In such cases, the data needs another path. TURN addresses this by offering a relay: a server that sits in the middle and forwards data between the two devices, allowing them to communicate even when they cannot reach each other directly.
How relaying works
With TURN, both devices send their data to a shared relay server, which then forwards it on to the other device. Because the relay is reachable by both parties, it bridges the gap between them. This means all the communication passes through the relay rather than flowing directly, which uses more resources but makes the connection possible when nothing else works.
TURN as a fallback
TURN is generally used as a fallback, chosen when direct connection attempts have failed. Relaying all data through a server is less efficient than a direct link, so it is not the first choice. However, when difficult network conditions block direct connections, TURN ensures that communication can still happen, making it an important safety net in real-time internet communication.
TURN and STUN together
TURN is closely related to STUN, which helps devices discover their public addresses to attempt direct connections. Systems often try the more efficient options first, using STUN to help set up a direct link, and fall back to TURN's relay only when necessary. Together, these protocols help ensure that devices can communicate across a wide range of network situations.
Why it matters
TURN is an important protocol for ensuring devices can communicate even through restrictive networks. Understanding what TURN is - relaying data through a server when a direct connection is not possible - clarifies how real-time communication stays reliable. For anyone interested in networking, it is a valuable concept to understand.
Related on Skillo
See also: What is STUN? Explained, What is NAT? Explained.
Sources
Published date reflects the original event date (2025-07-29). This article is original Skillo editorial written from the sources above; facts were verified in September 2026.
Leave a Reply