Couldn't see any requests from Localhost server

1. Problem

  • I'm running a localhost server at port 8080, but I couldn't see any traffics from Proxyman app

2. Why does it happen?

By default, all localhost traffics won't go through HTTP/HTTPS Proxy on macOS, so we couldn't see any requests or responses on Proxyman app.

3. Solutions

Map localhost to domain name in /etc/hosts

  1. Open etc/hosts file

$ vim /etc/hosts

2. Add Domain Name:

Ex: or

3. Save hosts file

4. Access your localhost server by (replace 8080 with your localhost ports)

5. Enjoy local traffic on Proxyman