Get hands-on experience with 20+ free Google Cloud products and $300 in free credit for new customers.

I can't connect to the ports on the GCP server.

I have a Windows 2019 server set up, and the latest MySql database on it.
On the server, I opened port 3306 for all connections.
I also added an engress rule in VPC allowing connections from ip 0.0.0.0/0 to all ports.

Despite these actions, I am unable to connect to the database on the server.
The telnet command also fails.
The ping command, on the other hand, works without a problem.

Even if I disable the firewall on the server completely, it doesn't change anything.

Can you advise me what could be the cause of this? I have put mysql server in GCP instance before and I don't remember having such problems.

Solved Solved
0 1 1,455
1 ACCEPTED SOLUTION

Hi @mikey5 ,

Based from the description of your issue/problem, there might be no issues with the VPC or with the firewall rules. You might have to check if the server's memory is full, making it inaccessible.  

View solution in original post

1 REPLY 1

Hi @mikey5 ,

Based from the description of your issue/problem, there might be no issues with the VPC or with the firewall rules. You might have to check if the server's memory is full, making it inaccessible.