Determining proxy server/port

折月煮酒 提交于 2019-12-30 11:17:07

问题


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


回答1:


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.




回答2:


Enter the following into windows commandline

netsh winhttp show proxy

It will return

Current WinHTTP proxy settings:

    Proxy Servers(s) : your.proxy.address.com:port


来源:https://stackoverflow.com/questions/18338908/determining-proxy-server-port

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!