I am running a app using vs 2010 .net 4.0 - c# for sending web request using proxy ips
I am getting error - "unable to connect to remote server"

private void Form1_Load(object sender, EventArgs e)
{
WebClient request = new WebClient();
WebProxy proxy = new WebProxy("127.0.0.1:8080");

proxy.Credentials = CredentialCache.DefaultCredentials;
request.Proxy = proxy;

MessageBox.Show(request.DownloadString("http://www.google.com"));

Kindly help
}