admin管理员组文章数量:1122846
I installed the plugin Akismet to filters out spam comments. However, it shows that:
Your site can’t connect to the Akismet servers.
Your firewall may be blocking Akismet from connecting to its API. Please contact your host and refer to our guide about firewalls.
The status of my firewall is as the followings:
$ sudo ufw status
Status: active
To Action From
-- ------ ----
80/tcp ALLOW Anywhere
80/tcp (v6) ALLOW Anywhere (v6)
It still doesn't work even I disable my ufw.
How do I make it work?
I installed the plugin Akismet to filters out spam comments. However, it shows that:
Your site can’t connect to the Akismet servers.
Your firewall may be blocking Akismet from connecting to its API. Please contact your host and refer to our guide about firewalls.
The status of my firewall is as the followings:
$ sudo ufw status
Status: active
To Action From
-- ------ ----
80/tcp ALLOW Anywhere
80/tcp (v6) ALLOW Anywhere (v6)
It still doesn't work even I disable my ufw.
How do I make it work?
Share Improve this question asked Aug 31, 2020 at 12:39 SparkAndShineSparkAndShine 2332 gold badges5 silver badges14 bronze badges 6- "Please contact your host..." - are you sure which port Akismet is using? – Steve Commented Aug 31, 2020 at 22:08
- @Steve, it is 80, as mentioned in the guide. – SparkAndShine Commented Sep 1, 2020 at 3:47
- There is code in class.akismet.php which will try and upgrade the connection to HTTPS, so it would be worth opening 443 too. But it should fall back to HTTP if that didn't work. Seems silly to me that use plain HTTP at all though, and don't document that it can use HTTPS. – Rup Commented Sep 1, 2020 at 10:44
- Do other outbound requests from WordPress work, e.g. core and plugin update checks? Could it be something else preventing the request e.g. SELinux or similar? Or can you curl the API from the machine's shell, i.e. could this be blocked by a firewall at the host outside the machine itself? – Rup Commented Sep 1, 2020 at 10:46
- @Rup, I failed to upgrade WP. It warned me mine, 5.3.2, is already the latest version of WordPress. Actually, the newest version is 5.5.1. – SparkAndShine Commented Sep 3, 2020 at 3:18
1 Answer
Reset to default 0You may try disabling the jetpack firewall. I had the similar issue with one of my blogs and I saw that the settings are conflicting with jetpack plugins.
本文标签: pluginsWordPress Can’t connect to the Akismet servers
版权声明:本文标题:plugins - WordPress: Can’t connect to the Akismet servers 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1736309832a1934160.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论