I've recently been trying to set up a compute engine instance that will host a SQL database for one of my projects. Issue is, every time I set up an instance and get everything installed, the port I open in Google's firewall is still closed and I cannot connect externally to my SQL server.
So far, I've done the following things and they've resulted in failure:
- Use Debian 8 instead of Ubuntu 16.04 LTS
- Create instance allowing all ingress traffic
All of these result in
nmap showing the port as
closed (as well as ports 80 and 443, which I allowed at the instance's creation) and a MySQL client on my local computer is unable to connect to the server.
I have disabled
ufw each time, so it shouldn't be causing any issues.