I could not see any requests from my localhost server
- I'm running a localhost server at port 3000, but I couldn't see any traffic from the Proxyman app
- I'm developing a local server that makes requests to the Internet, but none of them show on the Proxyman app
By default, all localhost traffic does not go through HTTP/HTTPS Proxy on macOS, so we couldn't see any requests or responses on the Proxyman app.
There are two solutions to fix it: You should follow either one of the following solutions.
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 ✅
$ sudo vim /etc/hosts
2. Add Domain Name with both IPv4 and IPv6 (You can change the
proxyman.localwith your name)
3. Save the file with
5. Access your localhost server by http://proxyman.local:3000 (replace 3000 with your localhost ports)
6. Enjoy debugging!