CURL & file_get_contents throttling issues

Discussion in 'General' started by atwellpub, Dec 30, 2012.

  1. atwellpub

    atwellpub New Member


    I host with a company that uses litespeed and I've noticed that my own localhost IP address is being throttled by litespeed's anti-ddos measures.

    CURL connections come back with this error:
    Recv failure: Connection reset by peer

    And if I attempt to connect to any site not found on localhost the connections go through ok.

    How can I help my hosting provider allow me to make connection requests without the risk of being throttled.

    ps. I do not know how long it takes, but eventually the tempban lifts and my connections start working again.
  2. NiteWave

    NiteWave Administrator

  3. atwellpub

    atwellpub New Member

    Hi and thank you for the help!

    So I could add / localhost to the allowed list and I shouldn't see any tempbans on localhost? Or do I need to go further and ask for the server IP to be added as well?
  4. NiteWave

    NiteWave Administrator

    you can identify which IP in access log.
    if you can access virtual host's access log, it can tell which IP is used to access

Share This Page