I could not see any requests from my localhost server
Fix why localhost request/response doesn't appear on Proxyman
1. Problem
I develop a local NodeJS, Ruby, or Python Backend at http://localhost:3000, but when I visit http://localhost:3000 from Google Chrome or Safari, there is no traffic on the Proxyman app.
Why does this happen? By default, on macOS, all localhost requests don't go through the System HTTP Proxy. Therefore, there is no traffic recorded by the Proxyman app.

2. Solution
2.1 ✅ New Solution for v6.3.0
From Proxyman macOS v6.3.0, Proxyman can:
Capture
http://locahost:3000or any localhost traffic in Google Chrome / Firefox without modifying the /etc/host fileWorks with a single click
How to do it
In Proxyman app -> Go to the Setup Menu -> Automatic Setup -> Click on the "Google Chrome" button
New Google Chrome will appear
Done. Visit http://localhost:3000 and Proxyman can capture it

2.2 Old solution
There are two solutions to fix it: You should follow either one of the following solutions.
Solution 1: Map localhost to the domain name in /etc/hosts
/etc/hosts Open
etc/hostsfile with Vim or VS Code.
2. Add Domain Name with both IPv4 and IPv6 (You can change the proxyman.debug with your name)

3. Save the file with sudo permission
4. Access your localhost server by http://proxyman.debug:3000 (replace 3000 with your localhost ports)
6. Enjoy debugging!

Solution 2: Use localhost.proxyman.io instead of localhost
Proxyman uses Cloudflare and sets the DNS of localhost.proxyman.io to 127.0.0.1 (localhost). As a result, Proxyman can capture the local traffic as usual ✅
For example:
Old URL
New URL
localhost:3000
localhost.proxyman.io:3000
localhost:8080
localhost.proxyman.io:8080
...
...
Last updated