Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am trying to ping from my computer. I use a Internet connection which works on a proxy and requires proxy authentication.
I have been using linux till now and there we can easily modify the yum.conf file to ping a site.
Is there any such way in Windows?

I thought it might look something like :

> ping -proxy=XXXX -proxy_username=XXXXX -proxy_password=XXXXXX

I Know this is not the correect syntax as it did not work out? I just want to know how to actually do this in Window? Many thanks :)

share|improve this question

This is pretty much impossible as ping works at a much lower level than the proxy.

I am guessing you use a HTTP proxy – it works at a high level; the browser (or yum) only sends it HTTP requests for specific URLs (e.g. GET, and the proxy handles everything else – it might open a TCP connection to the server and forward the request; or it might do something entirely different. HTTP requests are the only thing you can send to them.

Some HTTP proxies are configured to allow the client to open TCP connections (lower level), by making a special request (e.g. CONNECT In this mode, the client and server can exchange data over the TCP connection, but they still do not have any control over actual TCP or IP packets being sent. (Also, usually only specific TCP ports like 443 for HTTPS are allowed.)

The protocol has no mechanism for altering TCP options or using any other protocol than TCP – the client cannot send UDP datagrams, and most importantly in your case, it cannot send/receive ICMP packets, which the ping tool requires.

Note that the word "ping" by itself is more general than the ping command. It's more likely that yum "pings" the server by making dummy HTTP requests (which makes sense as its task is to determine which server responds to HTTP the fastest, while ICMP pings are quite irrelevant).

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.