0

我将 geoplugin.com 中的插件添加到我的页面,我激活了我的域,但在我的错误日志中,我一直收到如下错误:

[20-Mar-2013 11:17:13 CET] PHP Warning: file_get_contents(http://www.geoplugin.net/php.gp?ip=157.55.34.183&amp;base_currency=USD) [<a href='function.file-get-contents'>function.file-get-contents</a>]: failed to open stream: HTTP request failed! HTTP/1.1 403 Forbidden
 in /wwwroot.wwwnew/templates/geo/geoplugin.class.php on line 105

我怎么解决这个问题?

4

1 回答 1

1

If geoplugin.net was responding perfectly, then stopped, then you have gone over the free lookup limit of 120 requests per minute.

We automatically block all requests coming from an IP or a domain name if the number of requests exceeds 120 lookups per minute. This is explained in our Acceptable Use Policy. This block comes in the form of a HTTP/1.1 403 Forbidden reply from geoplugin.net

This block is automatically removed 1 hour after the last time your server stopped sending more than 120 requests a minute.

- GeoPlugin FaQ

If you need more than 120 requests per minute, you have to whitelist your domain (it's paid).

于 2017-03-30T17:52:20.637 回答