127.0.0.1 is the IPv4 loopback address, also called localhost. When a program connects to 127.0.0.1, the traffic does not go to the internet, your router, or another computer. It loops back to the same device. That is normal for local web servers and developer tools, but it deserves a closer look when it appears in proxy settings, hosts-file redirects, fake browser warnings, or an unknown local process.
What 127.0.0.1 means
- 127.0.0.1 points back to your own computer.
- The 127.0.0.0/8 block is reserved for loopback use, so it is not a public internet address [1].
localhostis a special local-use name that normally resolves to 127.0.0.1 or::1[2].- If a browser says 127.0.0.1 refused to connect, the local service is not running, the wrong port is used, or security software blocks it.
- If Windows is forced to use 127.0.0.1 as a proxy and you did not set that up, treat it as suspicious until you identify the program behind it.
127.0.0.1 vs localhost
In everyday browsing, localhost and 127.0.0.1 often behave the same. The difference is that localhost is a name, while 127.0.0.1 is the IPv4 address itself. Modern systems may also resolve localhost to ::1, the IPv6 loopback address.
| Address | Meaning | Example use |
| 127.0.0.1 | IPv4 loopback | Local web server or app on your PC |
| localhost | Local hostname | http://localhost:3000 during development |
| ::1 | IPv6 loopback | IPv6 local service testing |
| 192.168.x.x | Private LAN address | Device reachable inside your home or office network |
| Public IP | Internet-facing address | What external websites may see |
Why 127.0.0.1 is used
- Testing a website, API, or database before publishing it.
- Running local tools such as Node.js, PHP, Python, Docker, or database servers.
- Checking whether the operating system network stack works without using the internet.
- Blocking or redirecting domains through the hosts file by pointing them to localhost.
- Letting apps talk to local helper services without exposing them to the network.
Common 127.0.0.1 errors
If you see 127.0.0.1 refused to connect, the address itself is not broken. Usually the local app is not listening on that port, the wrong port is being used, a development server stopped, or a firewall/security tool blocked the connection.
- Check the URL and port, for example
http://127.0.0.1:8000. - Confirm the local server or app is actually running.
- Restart the app that should be listening.
- Check firewall, VPN, proxy, or antivirus blocks.
- Try
localhostinstead of127.0.0.1, or the other way around.
What does 127.0.0.1:49342 or :62893 mean?
When you see 127.0.0.1:49342, 127.0.0.1:62893, 127.0.0.1:8000, or a similar value, the number after the colon is a port. It tells Windows, the browser, or an app which local service on your own computer should receive the connection.
| Part | Meaning |
127.0.0.1 |
The loopback address. The traffic stays on this device. |
:49342, :62893, or another number |
A local port. High-numbered ports are often temporary ports used by apps, browsers, developer tools, VPNs, proxies, or helper services. |
| The listening process | The app behind the port is what matters. A trusted developer server is normal; an unknown updater, browser extension, or forced proxy needs review. |
| Risk level | The port number alone is not proof of malware. Treat it as suspicious only when it appears with browser redirects, broken internet, proxy settings you did not enable, or an unknown process that keeps returning. |
If the port appears in a browser error, first check whether the local app that should use it is running. If it appears in Windows proxy settings or comes back after you disable it, use the proxy checks below.
When 127.0.0.1 becomes suspicious
The loopback address is safe by itself. The risk comes from the program that uses it. A browser extension, adware bundle, fake update, or unwanted proxy tool can force web traffic through a local listener such as 127.0.0.1:8080, change the hosts file, or keep a helper process running after uninstall.
| What you see | What it may mean |
Windows proxy points to 127.0.0.1 and you did not enable a proxy |
Possible adware, proxy hijacker, leftover VPN/proxy app, or managed corporate setting. |
Unknown node.exe, browser helper, or updater listens on a localhost port |
Could be legitimate developer software, but it should match an app you installed and trust. |
| Hosts file contains many unexpected domain lines pointing to 127.0.0.1 | Could be an ad blocker, privacy tool, or a hijack attempt. Review the source before deleting. |
| Browser redirects, fake warnings, or pages opening without your action | Check for a browser hijacker or PUA, suspicious extensions, and startup tasks. |
How to check a suspicious localhost proxy on Windows
Use this checklist when 127.0.0.1 appears in proxy settings, a browser keeps redirecting, or a security tool warns about local proxy behavior. On a work or school device, confirm with the administrator before changing managed proxy settings.
- Open Settings > Network & internet > Proxy and disable any manual proxy you do not recognize.
- Open Terminal or Command Prompt as administrator and run
netsh winhttp show proxy. If it shows an unwanted proxy, Microsoft documentsnetsh winhttp reset proxyas the reset command [3]. - Review
C:WindowsSystem32driversetchostsfor unexpected domain redirects. Keep standard localhost lines; remove only entries you can identify as unwanted. - Check listening processes with
netstat -ano | findstr LISTENING, then match the PID in Task Manager. A local listener is not automatically malicious, but it should belong to known software. - Remove suspicious browser extensions, recently installed proxy/VPN/download tools, fake update apps, and unknown startup entries.
- If DNS errors appeared after a browser hijacker or malware cleanup, compare the symptoms with our DNS server not responding after malware guide.
Is 127.0.0.1 safe?
Yes. 127.0.0.1 is normal and is not a virus. It cannot be reached directly from the public internet. The practical question is whether a trusted local app is using it. If you see browser redirects, fake warnings, unknown proxy settings, or a process that keeps reopening a localhost port, treat that behavior as the problem and investigate the app behind it.
After uninstalling a suspicious app or deleting a threat, scan all drives to catch hidden folders, startup entries, and bundled files that may restore the proxy or local listener.
FAQ
What does a number after 127.0.0.1 mean?
The number after the colon is a local port, such as 127.0.0.1:49342 or 127.0.0.1:62893. It points to a service or app on your own computer. The port is not dangerous by itself; check the process behind it and whether it matches software you trust.
Is 127.0.0.1 my IP address?
It is a local loopback address on every device, not your public internet IP. Your router, websites, and other people do not see your 127.0.0.1 as a public address.
Can someone connect to my 127.0.0.1?
No, not directly from another device. Their 127.0.0.1 points to their own device, not yours. A separate risk exists when malware or an unsafe app runs on your machine and listens locally.
Why do developers use localhost?
It lets them test websites, APIs, and databases locally before exposing anything to a network or the internet.
Why do I see 127.0.0.1 in proxy settings?
Some legitimate tools route browser traffic through a local proxy for filtering, debugging, VPN, or privacy features. If you did not install such a tool, identify the listening process and review startup items before trusting it.
Is 127.0.0.1 a virus?
No. It is a normal networking address. Suspicious behavior around it usually comes from another app using the address, such as a proxy hijacker, unwanted extension, or leftover local service.
References
- IANA. “IPv4 Special-Purpose Address Space.” Internet Assigned Numbers Authority, last updated October 9, 2025, accessed June 6, 2026. https://www.iana.org/assignments/iana-ipv4-special-registry/iana-ipv4-special-registry.xhtml
- IETF. “RFC 6761: Special-Use Domain Names.” IETF Datatracker, February 2013, accessed June 6, 2026. https://datatracker.ietf.org/doc/rfc6761/
- Microsoft. “netsh winhttp.” Microsoft Learn, accessed June 6, 2026. https://learn.microsoft.com/en-us/windows-server/administration/windows-commands/netsh-winhttp


No opan in Google