如何修复ubuntu服务器上的mysql 2003超时错误?

如何修复ubuntu服务器上的mysql 2003超时错误?,mysql,server,connection,Mysql,Server,Connection,我无法使用mysql让其他PC连接到我的服务器。 我已经设置了绑定地址=0.0.0.0 netstat: root@localhost:~# netstat -nlt | grep 3306 tcp6 0 0 :::3306 :::* LISTEN telnet: root@localhost:~# telnet liortesta.cf 3306 Trying 104.254.244.201...

我无法使用mysql让其他PC连接到我的服务器。 我已经设置了绑定地址=0.0.0.0

netstat:

root@localhost:~# netstat -nlt | grep 3306
tcp6       0      0 :::3306                 :::*                    LISTEN

telnet:

root@localhost:~# telnet liortesta.cf 3306
Trying 104.254.244.201...
Connected to liortesta.cf.
Escape character is '^]'.
[
5.7.26-0ubuntu0.18.04.1
K)%O)Vs Z
         ^;
3mysql_native_password

nmap:

从另一台服务器:

nmap -p 3306 liortesta.cf

Starting Nmap 7.01 ( https://nmap.org ) at 2019-07-25 08:56 EDT
Nmap scan report for liortesta.cf (104.254.244.201)
Host is up (0.051s latency).
PORT     STATE    SERVICE
3306/tcp filtered mysql

Nmap done: 1 IP address (1 host up) scanned in 0.92 seconds
2003,“无法连接到'liortesta.cf'上的MySQL服务器”(超时)


我不知道该怎么办

对不起,服务器提供商也有防火墙,它阻止了我的连接

这些远程PC是如何连接的?他们使用的是什么MySQL用户帐户我正在尝试连接pymysql。我的另一台服务器连接良好,从另一台服务器我也无法连接到问题服务器的MySQL(通过pymysql)您是否将用户帐户设置为允许从远程位置连接?是的,允许从任何地址连接,但即使不允许,我也会被拒绝访问,但现在我超时了
nmap -p 3306 liortesta.cf

Starting Nmap 7.01 ( https://nmap.org ) at 2019-07-25 08:56 EDT
Nmap scan report for liortesta.cf (104.254.244.201)
Host is up (0.051s latency).
PORT     STATE    SERVICE
3306/tcp filtered mysql

Nmap done: 1 IP address (1 host up) scanned in 0.92 seconds
root@serv:~# telnet liortesta.cf 3306
Trying 104.254.244.201...