10

I am using dynatrace ajax edition and it requires an proxy server and password to connect to dynatrace server.

The problem is I ONLY have the .pac file URL that we use at work.

Is it possible to know which proxy server and port my requests resolve to so that I can provide the proxy server name and password directly?

I have checked few links in the stackoverflow community but they do not seem to answer this question.

Like: How to discover de proxy used in a pac

I am using an windows 7 64 bit system with IE8.

Thanks, Ayusman

Community
  • 1
  • 1
Ayusman
  • 8,509
  • 21
  • 79
  • 132
  • For me, after downloading the .pac file specified in the connection proxy settings, finding the proxy URL inside was rather easy, since there only was one URL looking like that. (Apart from additional local proxies.. which I did not need.) – Andreas Reiff Nov 12 '12 at 17:31
  • @AndreasReiff for me it was much difficult to find out manually. In the past in my enterprise pac file; it was easy; but the current organization I am in the pac file is really big with many conditional paths; so it was not easy finding out using manual inspection. – Ayusman Nov 12 '12 at 18:06
  • Does this answer your question? [How to discover de proxy used in a pac](https://stackoverflow.com/questions/3068728/how-to-discover-de-proxy-used-in-a-pac) – Beginner Jul 31 '20 at 11:30
  • You can just read the `.pac` file, it is plain text. – Cadoiz Dec 02 '21 at 07:58

4 Answers4

11

After trolling through some more google search results,

This nifty tool helped me perfectly

Please note that I was on a 64 bit windows 7 machine, still it worked fine.

Joundill
  • 6,828
  • 12
  • 36
  • 50
Ayusman
  • 8,509
  • 21
  • 79
  • 132
1

Hit the URL in the address bar of the browser. It should download the file. Open the file with any text editor. Looking at the content of the file, you can easily find out the proxy IP/port being used. This worked for me. Hope it helps others too.

shanti
  • 270
  • 1
  • 4
  • 20
  • What do you mean by 'hit' the URL in the address bar? – tonneofash Nov 12 '19 at 10:30
  • @tonneofash The user wrote in the question- "The problem is I ONLY have the .pac file URL that we use at work." In the proxy setting of windows, many organisations store the location of a proxy script file, whose extension ends with .pac. If you can't find anything related to .pac in your proxy settings on windows system, then this question is quite unrelated to your problem. – shanti Jan 04 '20 at 13:08
0

answer from 2023:

use this online tool: https://thorsen.pm/proxyforurl

it works online, copy and paste your PAC there, set the URL you want to visit, and let it run the javascript

Loop
  • 233
  • 1
  • 3
  • 13
-5

To find your Web Proxy, simply go to:

http://www.whatismyproxy.com/

This web page will display information about your proxy server.

Dale Wilson
  • 9,166
  • 3
  • 34
  • 52
  • This just gives the public IP address. Often the proxy server has a different, private IP address, somewhere behind the public one. – Ian Goldby Jun 20 '16 at 14:10