After installation, the remote connection reports an error:
2003- cannot connect to mysql server on ‘10.10.1.202’(10060 “Unknown error”)
Solution:
Open 3306 ports
firewall-cmd --zone=public --add-port=3306/tcp --permanent #Command Meaning --zone #Role --add-port=3306/tcp #Add a port in the format of: port/communication protocol --permanent #Permanent
Restart the firewall
systemctl restart firewalld.servic
perhaps
service firewalld restart
perhaps
firewall-cmd --reload
Similar Posts:
- [Solved] Centos7 Failed to start iptables.service: Unit not found
- [Solved] Centos7 Error: Failed to start iptables.service: Unit not found
- Firewall is not running an error is reported when the remote server opens the port
- Vsftp: 425 FTP connection failed [How to Solve]
- [Solved] 2003 – cant connect o mysql server on xxx (10060 unknown error)
- Rabbitmq error of connecting the native idea to Linux: java.net.connectexception: connection timed out: Connect [Solved]
- [Solved] MySQL Connect Error: Can’t connect to MySQL server on ‘ ‘(61)
- [Solved] CentOS 7.2 Startup Error: Failed to start IPv4 firewall with iptables
- Solve the problem of SSH Connection closed by foreign host
- [Solved] Centos7 linux ailed to stop iptables.service: Unit iptables.service not loaded.