Localhost and LAN port scanning
A page probes ports on the visitor's own machine or home network to find running software.
In one line
Can try to find software running on your own computer, though Chrome now blocks it
A page probes ports on the visitor's own machine or home network to find running software.
JavaScript uses fetch, WebSocket or image timing to test localhost ports (eBay's 2020 check, Meta Pixel and Yandex on Android in 2025 messaging via localhost). Chrome LNA prompts since 142 and PNA aim to stop this.
What it can and can't do
What the user does: Nothing. It happens when a page or ad script loads
It can
- Test whether your computer has certain programs listening, by timing quick requests
- Check whether a companion desktop app is installed
- Link web activity to an app on the same device
It cannot
- Do this silently in Chrome 142 and newer, which shows a pop up first
- See files or data inside the programs it finds
- Reach other devices on your network without the local network pop up
- Work on iPhone browsers against apps, which are sandboxed from each other
How it differs between platforms: Chrome and Edge now ask first. Firefox and Safari still allow the quiet checks, though they only find what a site already expects. Android apps have been caught doing this.
Browser support
| Browser | Status | First version | Released | Note |
|---|---|---|---|---|
| Chrome | Removed | 142 | 2025-10-28 | Local Network Access prompt |
| Edge | Removed | 142 | 2025-10-31 | Local Network Access prompt |
| Firefox | Supported | 1 | 2004-11-09 | None |
| Safari | Supported | 1 | 2003-06-23 | None |
| Safari on iPhone | Supported | 1 | 2007-06-29 | None |
| Chrome on Android | Removed | 142 | 2025-10-28 | Local Network Access prompt |
| Samsung Internet | Removed | 30.0 | 2026-05-11 | Local Network Access prompt |
How a site asks for it
| API | fetch/WebSocket/img to 127.0.0.1 and RFC1918 hosts; timing |
| How access is granted | none |
| What the user sees | Not listed |
| Needs a secure context (HTTPS) | No |
| Needs a user gesture | No |
| How long it lasts | Not listed |
| How to take it back | Not listed |
| Inside an iframe | Not listed |
Typical flow
- Request local URLs
- Measure success, error, timing
- Infer open ports
Data you get
What comes back: Set of open ports
Shape: list
| Field | Type | Unit | Range | Precision |
|---|---|---|---|---|
open ports | list | None | 0 to 65535 | per port boolean |
Technical limits
- Chrome 142 gates local requests behind a prompt
- Firefox and Safari have no prompt yet (unverified at 2026-11)
The story
What it is
A web page quietly checks which programs are running on your own computer or home network.
For you
You never see it. A page you visit can try to connect to your own computer and learn which apps are open. The answer helps a site decide who you are.
For makers
Some sites use it for fraud checks, such as spotting remote control software. Others have used it to collect hidden signals about the visitor. Browsers are adding rules to stop it.
Where you see it
| Type | Example | Apps |
|---|---|---|
| security | A bank site checks for common remote access tools on the visitor's machine. If one is running, it blocks the transfer to stop a scam call from taking over. | None named |
| ads | An ad script tests a list of local ports to build a hidden fingerprint of installed apps, which adds to a profile without cookies. | None named |
| games | A browser game tries to connect to a helper app on a local port. If it answers, the game unlocks desktop features for that player. | None named |
| social | A messaging web page checks a local port to see if the desktop app is running. If so, it opens chats there and not in the tab. | Zoom, Spotify |
| developer | A developer tool in the browser connects to a helper on localhost to read files, so the site can show them in the page. | None named |
| shopping | A fraud tool on a checkout page watches for debugging or automation tools open on the buyer's computer. | None named |
| enterprise | A company portal checks for its security agent on a local port before it lets staff sign in. | None named |
Risks
- Hidden app detection
- Probes home network
Good uses and abuse
Legitimate uses
- Dev tools, local companion apps
Known abuse
- Fraud detection by eBay, tracking ID bridging, router attacks
Scores
| Score | Value | Meaning |
|---|---|---|
| Sensitivity | 2 of 5 | How revealing the data is |
| Utility | 2 of 5 | How useful it is to honest apps |
| Friction | 0 of 5 | How much the user has to do |
| Fingerprint bits | 3 | Rough identifying entropy, when known |
History
- 2020-05, vendor: eBay port scanning reported by Nullsweep
- 2025-06, vendor: Local Mess: Meta and Yandex localhost ID linking on Android disclosed
- 2025-10, Chrome 142: Local Network Access permission prompt
Related capabilities
Related
- Local Network Access (LNA) permission. Can connect to devices on your home network, only if you allow it in Chrome
Sources
- Local Mess (Meta and Yandex localhost tracking) 2025
- Chrome Local Network Access
- Nullsweep eBay port scan report
How well checked: Checked against real behavior.