kierdavis's picture

I've created a TurnKey Hub server with the LAMP stack image (and it's been working perfectly). However, I would like to open port 3306 on the server (the MySQL port) so that I can access the database from my home machine. I have cloned one of the existing firewall rules in Webmin and changed the TCP port number, but this does not appear to work; the following command produces the same output whether this rule is enabled or not (after a long delay, where I assume the connection is timing out):

$ mysql --host XXXXX.tklapp.com --port 3306 --user root --password

 

ERROR 2003 (HY000): Can't connect to MySQL server on 'XXXXX.tklapp.com' (110)
 
A screenshot of the Webmin firewall setup is attached.
Forum: 
kierdavis's picture

Sorry, fixed it! Hadn't seen the external firewall configuration, in the servers dashboard on the Hub

Add new comment