Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Intercept requests to
By default, Chromium-based browsers such as Microsoft Edge and Google Chrome bypass system proxy settings for localhost
URLs. If you're developing an application that makes requests to API on localhost
, which you want to intercept using Dev Proxy, you need to exclude localhost
URLs from the bypass list.
To configure Chromium-based browsers to send requests to the system proxy for localhost
URLs, you need to start the browser with the --proxy-bypass-list
and --proxy-server
options. For example, to exclude localhost
from the bypass list in Microsoft Edge, start the browser with the following command:
msedge --proxy-bypass-list="<-loopback> --proxy-server="127.0.0.1:8000"
/Applications/Microsoft\ Edge.app/Contents/MacOS/Microsoft\ Edge --proxy-bypass-list="<-loopback>" --proxy-server="127.0.0.1:8000"
/opt/microsoft/msedge-dev/msedge --proxy-bypass-list="<-loopback> --proxy-server="127.0.0.1:8000"
Important
Before you start a Chromium-based browser with these settings, be sure to close all instances of the browser. Otherwise, the new settings won't take effect.
To configure Mozilla Firefox to send requests to the system proxy for localhost
URLs, you need to set the network.proxy.allow_hijacking_localhost
preference to true
. To do that, open the about:config
page in Firefox, search for the network.proxy.allow_hijacking_localhost
preference, and set it to true
.