Search code examples
proxypac

Determining proxy server/port


I apologize if this is a simplistic question, I am not familiar with this kind of thing.

I am trying to determine my proxy server ip and port number in order to use a google calendar syncing program. I downloaded the proxy.pac file using google chrome. The last line reads:

return "PROXY proxyhost:1081";

I believe that means the port number is 1081, but for the proxy server, I was expecting something with the format "proxy.example.com" Any advice?

Thank you


Solution

  • Are you using the Windows operating system?

    You can press Win+R, input "cmd" in the run box, you will get the "command Prompt", then input the following command and press Enter.

    command 1

    ipconfig  /all | find /i "Dns Suffix"
    

    it will show something like this.

    Primary Dns Suffix . . . . . . . : xxx.xxx.xxx

    command 2

    ping proxyhost
    

    it will show something like this.

    Pinging proxyhost.xxx.xxx.xxx [yyy.yyy.yyy.yyy] with 32 bytes of data: Reply from yyy.yyy.yyy.yyy: bytes=32 time=1ms TTL=60

    Then maybe "proxyhost.xxx.xxx.xxx" is what you want.