View localhost traffic

If you are developing something on your local machine you may like to the ability to view your traffic in Charles.


In this tutorial we will show you how to proxy your localhost traffic through Charles

Prerequisite

Modify the hostname

To view your local traffic simple append “.charlesproxy.com” to the host

Before: http://localhost:3001/path

After: http://localhost.charlesproxy.com:3001/path

Leave a comment