Skip to Content
Platform.Ontology

Localhost and LAN port scanning

A page probes ports on the visitor's own machine or home network to find running software.

Used to track youNetwork and connectionLocal networkWeb browsersWhen the page loads

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

BrowserStatusFirst versionReleasedNote
ChromeRemoved1422025-10-28Local Network Access prompt
EdgeRemoved1422025-10-31Local Network Access prompt
FirefoxSupported12004-11-09None
SafariSupported12003-06-23None
Safari on iPhoneSupported12007-06-29None
Chrome on AndroidRemoved1422025-10-28Local Network Access prompt
Samsung InternetRemoved30.02026-05-11Local Network Access prompt

How a site asks for it

APIfetch/WebSocket/img to 127.0.0.1 and RFC1918 hosts; timing
How access is grantednone
What the user seesNot listed
Needs a secure context (HTTPS)No
Needs a user gestureNo
How long it lastsNot listed
How to take it backNot listed
Inside an iframeNot listed

Typical flow

  1. Request local URLs
  2. Measure success, error, timing
  3. Infer open ports

Data you get

What comes back: Set of open ports
Shape: list

FieldTypeUnitRangePrecision
open portslistNone0 to 65535per 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

TypeExampleApps
securityA 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
adsAn 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
gamesA 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
socialA 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
developerA 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
shoppingA fraud tool on a checkout page watches for debugging or automation tools open on the buyer's computer.None named
enterpriseA 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

ScoreValueMeaning
Sensitivity2 of 5How revealing the data is
Utility2 of 5How useful it is to honest apps
Friction0 of 5How much the user has to do
Fingerprint bits3Rough 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

Sources

How well checked: Checked against real behavior.

On this page