Firewall for database


Why is the database not protected by a firewall by default? (there is no rule in the firewall section, unlike VestaCP)

No rules means blocked by default

3 Likes

Created the rules in the firewall section as in the picture.

https://forum.hestiacp.com/uploads/default/original/2X/b/b5bb1f7c0a701592caf438cfa90dec4a7419ada5.png

Then I try to connect to the created database using HeidiSQL:

https://forum.hestiacp.com/uploads/default/original/2X/b/b14f02464a0bdaa01d2de5cbe5d7dd49ee7bee22.png

Is writing: Can’t connect to MYSQL server on SERVER_IP (10061).

With similar settings, VestaCP was connected normally.
Where to look for the error?

Mysql does not listen on the public ip but on localhost

3 Likes

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.