Oct-10-2021, 11:30 PM
(This post was last modified: Oct-10-2021, 11:30 PM by Pedroski55.)
The default port for the mysql server is 1443, according to the pymysql docs.
I opened 1443 in ufw on the server, but I just get a timeout.
Today I will ask the company register the domain name with the ip for the cloud server. Maybe that is the problem.
You gave me the idea to check the port for mysqld on the cloud server.
I checked with netstat -tlnp:
So I allowed port 3306 in ufw, but I am now getting connection refused.
I opened 1443 in ufw on the server, but I just get a timeout.
Today I will ask the company register the domain name with the ip for the cloud server. Maybe that is the problem.
You gave me the idea to check the port for mysqld on the cloud server.
I checked with netstat -tlnp:
Quote:tcp 0 0 127.0.0.1:3306 0.0.0.0:* LISTEN 2770/mysqld
So I allowed port 3306 in ufw, but I am now getting connection refused.