1, IP error or port error, wrong URL setting, incorrect database server: ping whether the server IP is correct.
2. A firewall is installed on the machine, which is caused by shielding the port number of the server. After closing the firewall, try to reconnect.