Internet privacy
WebRTC host, server-reflexive and relay candidates
ICE gathers candidate transport addresses for connectivity checks. The candidate type describes how the address was obtained.
Updated
In this guide
Host candidates
Host candidates represent local interfaces. Browser privacy controls can restrict exposure or substitute names in some contexts. They do not necessarily reveal a usable private address to every script.
Reflexive and relay
A server-reflexive candidate describes a mapped address learned from a STUN server. A relay candidate is allocated through a TURN server. The selected path depends on ICE connectivity checks and policy.
Interpret observations
Candidate lists are not proof of which route ultimately carried traffic, and the absence of a candidate is not proof of protection. A browser diagnostic needs explicit permission and a suitable test configuration.
Do not infer the selected path
A candidate list may contain local, server-reflexive and relayed possibilities during ICE gathering. Their presence does not prove which pair established a media session or that all traffic is routed the same way. Evaluate the selected candidate pair and its context when available.
Step-by-step example
Understand candidate types that can appear during browser peer-connection setup.
- 01
Read host candidates
A host candidate represents a local interface candidate; browsers may use an mDNS name rather than disclose a local IP. A name is not proof that the actual address has been exposed.
- Host
- Local candidate
- mDNS
- Obfuscated local name
Illustration · example, not a live result - 02
Read reflexive and relay candidates
A server-reflexive candidate can describe a NAT-mapped address learned through STUN; a relay candidate uses a TURN relay. The availability and address family depend on the browser and configured servers.
- srflx
- Mapped address
- relay
- Relay address
Illustration · example, not a live result - 03
Compare with the HTTP observation
If an explicit controlled STUN test is available, compare its observation with the HTTP request's public address. A difference may reflect routing or NAT behavior; it is not automatically a privacy breach.
- WebRTC
- Candidate evidence
- HTTPS
- Observed egress
Illustration · example, not a live result
Check your understanding
Do not equate an absent candidate with guaranteed privacy or a candidate with a verified identity.
Record your own progress on this browser. No account required.
Try this
Compare candidate type labels in the WebRTC guide rather than sharing a full candidate string.
Inspect your own IP address →