When Internet Explorer is set to auto-detect proxy settings, is there a way to view what it detects?
http://wpad/wpad.dat is not available, you can deduce which proxies are in use by browsing to a web site and then checking the TCP connection that was made. It's not great, but it's at least minimally useful.
Inspect the output of
netstat -an | find "EST"(short for '
Go to a fresh site (one that you have not recently visited).
netstatcommand again, looking for the new connection. It might look like:
TCP 192.168.1.1:1989 192.168.1.88:8080 ESTABLISHED
In this example, your proxy's IP is
192.168.1.88 and it is listening on port
Note that this method only shows the proxy currently in use for that connection. If more than one proxy is configured in your environment, and you want to know all of them, you may need to repeat the procedure above periodically to get the full list.
The same procedure can be used on non-Windows boxes (using
netstat -an | grep EST, or whatever your OS uses to show active connections).
I tried both solutions mentioned, and also all sorts of others.
In the end what worked for me was using Chrome to navigate to:
which gave me the
.pac file (= proxy auto-config file) which I could then download and read to determine the proxy that was being selected.
=== Addenda ===
As pointed out by @DaveInCaz and @ZachBloomquist, this no longer works as of Chrome 71.
So what I did was:
- Find the previous version of Chrome, which gives 70.0.3538.
- Look this up on https://omahaproxy.appspot.com, which gives version 587811.
- Find that version of Chromium on the snapshots page. The version seemed to be present on the Windows 64 bit version page, which leads me to the 587811 version page with the file
- Download, unzip, run
chrome.exeand you can again use the address
chrome://net-internals/#proxyto find the PAC script!
So to summarize the steps required:
- Download Chromium version 70.0.3538 = build 587811 here (Windows, otherwise see above steps).
- Unzip and run
- Navigate to