none
C# HttpWebRequest Through Proxy RRS feed

  • Question

  • hi guys

    I want to use a proxy list in http requests. But when multiple HTTP requests are executed, the device's IP is blocked by the firewall server

    Most of the available sources suggest the following method but the output is incorrect...

    HttpWebRequest request = WebRequest.Create(url) as HttpWebRequest;
    request.Proxy = new WebProxy("1.2.3.4:8080"); //Proxy Adreess
    WebResponse myResponse = request.GetResponse();

    Monday, January 27, 2020 10:39 AM

All replies

  • The firewall is probably viewing the consecutive sending of inbound traffic as a Denial of Service attack, and the firewall started blocking the IP.

    Monday, January 27, 2020 1:57 PM