You switched networks. Your IP lookup page shows the address you expected. Then you open a WebRTC testing tool and find a second public IP — sometimes even a local network address.
That doesn't necessarily mean your browser is broken. It may simply be WebRTC pulling information from other network interfaces while it sets up a connection.
WebRTC leaks rarely announce themselves. Pages load normally, nothing pops up. To find out whether your browser is exposing addresses it shouldn't, you need to understand how WebRTC works and then actually test for it.

WebRTC is a real-time communication technology built into browsers. It powers video meetings, voice calls, and live in-page interaction.
To connect, WebRTC gathers candidate addresses through ICE. Those candidates can come from your machine's own network interfaces, or from the public address a STUN server observes.
A typical IP lookup page shows the public exit point your web requests use. WebRTC's address gathering can travel different network paths, so the two results won't always match.
Modern browsers usually use mDNS to mask local IPs, which is why you may see randomized names ending in .local. That protection, however, doesn't extend to every public address.
If you'd rather not dig through browser developer tools, use ToDetect to view the WebRTC results and compare them against your current public IP.
When you run the test, pay attention to these three types of ICE candidates:
• host: an address from a local network interface — possibly a LAN IP, possibly masked by mDNS.
• srflx: an address discovered through STUN, typically showing how your device appears to the outside world.
• relay: a relay address provided by a TURN server; it isn't the same thing as your device's own public IP.
Seeing more than one IP on the results page doesn't mean you've leaked anything. Your computer may be connected over both Ethernet and Wi-Fi, or have several active network interfaces.
What actually matters is whether the results include a local address you never wanted a page to see, or a public IP you didn't expect.
While you're checking for browser IP leaks, don't forget IPv6. Looking at IPv4 alone can leave address exposure on the other protocol completely invisible.
Chrome and Edge don't give regular users a single WebRTC on/off switch, and many older chrome://flags walkthroughs no longer apply to current versions.
If you need to limit how much network address information WebRTC exposes, use the WebRtcIPHandlingPolicy policy that both browsers support.
Set the policy to: disable_non_proxied_udp. This restricts WebRTC to UDP connections that comply with your specified network policy, which cuts down on some unintended address exposure.
Keep in mind that how you apply the policy depends on your operating system, and that it can affect video calls, screen sharing, and other real-time features. After making the change, restart the browser and run the WebRTC leak test again.
Don't copy settings straight from tutorials written for older browser versions — check whether your current build still supports the policy first.
Firefox offers a more direct route: you can turn WebRTC off from its advanced configuration page. Here's how:
| Step | What to do | What it does |
|---|---|---|
| Step 1: Open advanced settings | Type about:config in the Firefox address bar and press Enter | Opens the browser's advanced configuration page |
| Step 2: Find the preference | Type media.peerconnection.enabled in the search box | Locates the WebRTC setting |
| Step 3: Disable WebRTC | Change the value from true to false | Turns off WebRTC functionality |
| Step 4: Verify the change | Reload the WebRTC test page | Check whether ICE candidates are still returned |
| Step 5: Restore the feature | Set the preference back to true | Restores video meetings and voice calls in the browser |
Note: disabling WebRTC may break some web-based meetings, voice calls, and other real-time features.
After changing your browser settings, don't rely on a plain IP lookup alone. Reopen ToDetect and compare three things: your current public IP, the WebRTC candidates, and the IPv6 results.
If the unexpected address no longer shows up, that's a sign address exposure has improved in this particular test environment.
If nothing changed, check whether the browser policy actually took effect, whether multiple network interfaces are active, and whether your system is still using IPv6.
Test results shift with your network connection, browser version, and page behavior. One clean result doesn't guarantee that no address will ever be exposed in a different network environment.
A WebRTC leak is about the network addresses collected and exposed while the browser handles real-time communication.
DNS testing looks at the network path your domain-resolution requests take, while browser fingerprinting covers environment details such as fonts, time zone, screen parameters, Canvas, and WebGL.
These come from different sources and serve different purposes, so turning off WebRTC alone won't solve every browser privacy problem.
When you check your browser environment with ToDetect, look across several tests to understand what your current setup reveals, rather than judging overall privacy from a single IP address.
Not necessarily. First confirm the address type, which interface it came from, and your current connection state. Further investigation is only needed when an unexpected address is reachable by a web page.
Usually yes. It's typically the browser using mDNS to mask a local address — but check the other candidates separately.
They can. Mobile browsers support WebRTC too, and actual exposure depends on the browser implementation, system permissions, and your current network environment.
No. WebRTC is only one source of network exposure; DNS, IPv6, and browser fingerprinting each need their own checks.
A WebRTC leak doesn't mean your browser has been attacked. The real question is whether a page can obtain network address information beyond what you'd expect.
When the results look off, start by running a WebRTC leak test with ToDetect, adjust settings based on your browser, then retest to verify. Understanding what the results mean — and confirming a change actually worked — does more for day-to-day browser privacy than simply switching one feature off.
Efficiently solve multi-account management, environment isolation, and account security