Websites Can Scan Your PC's Ports: Localhost Scanning Explained
Your browser can reach more than the internet. It can also reach programs on your own computer, at the address 127.0.0.1, called localhost. Some websites use that to find out what runs on your PC. This is localhost port scanning.
How it works
- A script tries to open a connection to
127.0.0.1on a certain port. - It cannot read the answer, but it can measure how fast the error comes.
- An open port reacts differently from a closed one.
Within a second the page knows whether TeamViewer, AnyDesk, VNC or Windows Remote Desktop is running. Shops and banks use it to recognise remote-controlled computers. In 2020 researchers found such a scan on eBay, and the technique is still around.
Why it matters for profiles
- The list of open ports is the same in all your profiles, because it is the same PC.
- A remote-desktop program next to a shop login raises the risk score.
- Local programs with a web page of their own can be recognised by their port.
How to see it yourself
Open the developer tools (F12), tab Network, and load the site. Requests to 127.0.0.1 or localhost are the scan. New Chrome versions ask for permission before a public page may reach the local network, but the old tricks still work in places.
Protection in BROWSY ANTY
In a profile's Extra tab choose Ports: Protect. The usual remote-control ports then look closed, like on a PC without these programs. You can add your own ports. Local addresses are never asked through the proxy, and the app itself cannot be found by its port.

Without a profile browser
- Close remote-desktop programs you do not need.
- Use an ad blocker that blocks requests to localhost (uBlock Origin has a list for it).
- Keep Windows' firewall on. It does not stop the test from your own browser, but it stops others in your network.
A worked example
A shop's login page asks 127.0.0.1 on 14 ports within half a second: 3389 (Windows Remote Desktop), 5900 (VNC), 5939 (TeamViewer), 7070 (AnyDesk) and others. On your PC TeamViewer answers. The shop adds "remote control possible" to the login's risk score. All your profiles get the same mark, because it is the same PC.
With Protect, a port with a program and a port without one behave the same, and the list is as empty as on a fresh PC.
Which ports are protected by default
The usual ones of Windows Remote Desktop, VNC, TeamViewer, AnyDesk and similar tools. You can add ports of your own programs, for example a local database or a NAS tool.
Frequently asked questions
Is port scanning by websites legal?
It depends on the country. Many lawyers see it critically in Europe, because it reads information from your device.
Can a website take over my PC this way?
No. It only learns that something listens there.
Does a proxy help?
No, the scan never leaves your computer. That is why it needs a rule in the browser.
Does it break anything?
Only pages that really need to reach a local program, such as some signing or printer tools. Leave the port out for that profile.
Is 127.0.0.1 the same as localhost?
Practically yes. Both mean this computer.
Tools for this
- Leak protection A proxy only helps if nothing goes around it. These rules sit in the engine and in the connection, not in a script.
- Extra parameters For special cases, each profile has an Extra tab.
Try BROWSY ANTY
Many browser profiles on Windows, each aligned with its proxy. Try it free for a day with one profile, no account needed.


