Skip to Content

reCaptcha: Could not open socket Connection timed out

Getting "reCaptcha: Could not open socket Connection timed out" while logging into gateway server.


Synopsis: This article will help the gateway admin user to fix the error "reCaptcha: Could not open socket Connection timed out" while logging into the Ezeelogin GUI.



Make sure the gateway server firewall does not block https://www.google.com/recaptcha/api or www.google.com

1. iptables:

root@gateway ~]# iptables -L

2. firewalld:

root@gateway ~]# systemctl status firewalld

root@gateway ~]# firewall-cmd --get-active-zones

3. ufw:

root@gateway ~]# ufw status

root@gateway ~]# cat /etc/ufw/user.rules

root@gateway ~]# cat /etc/ufw/user6.rules


Related Article:

Enable Google reCaptcha

reCaptcha images not loading

Google Recaptcha shutdown issue