![]() |
CURL & file_get_contents throttling issues
Hello!
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. |
please refer:
http://www.litespeedtech.com/docs/we...sControl_allow in lsws admin console, Server->Security->Allowed List "Trusted IPs or sub-networks set at server level access control will be excluded from connection/throttling limits" |
Hi and thank you for the help!
So I could add 127.0.0.1 / 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? |
Quote:
"curl http://a.com" if you can access virtual host a.com's access log, it can tell which IP is used to access http://a.com |
| All times are GMT -7. The time now is 10:12 PM. |