Conect to MariaDB and PostgreSQL from outside my network

Hihi, I’m trying to grant access to my MariaDB database from another computer using DBeaver.

On the future I want to conect to it from an app I’ve.

How can I do this?

I’ve port opened on Firewall and router but it’s not working.

You need to port forward as well

It’s done, on the router

Can you access your mariadb remotely but from the same network using dbeaver. Get that working before using the internet

I can’t neither. Idk why, everything looks fine but it’s getting timmed out

imagen

Ok, don’t ask my why, now it works.

After 3 errors it worked fine, no changes, just boom… working.

Cool, maybe fail2ban did a temporary ban.

Mariadb does not listen on the public address, by default, it only listens on localhost. You’ll need to configure it to do so.