gothloli
Port 3306 is the default port for the MySQL Protocol (port), which is used by the mysql client, MySQL Connectors, and utilities such as mysqldump and mysqlpump. The port for X Protocol (mysqlx_port), supported by clients such as MySQL Shell, MySQL Connectors and MySQL Router, is calculated by multiplying the port used for MySQL Protocol by 10. For example if the MySQL Protocol port is the default value of 3306 then the X Protocol port is 33060.
To verify the value of these ports on MySQL server, issue:
mysql> SHOW VARIABLES LIKE 'port';
mysql> SHOW VARIABLES LIKE 'mysqlx_port';
Your ports should be 3306 or 33060. This is according mysql.