I have setup my VM on Google compute engine and connect to it from my Mac using SSH via Gcloud. I have installed my Django website and after that when I run the command below:
sudo ufw enable
After this command I not able to connect to my VM instance vis SSH, I need to edit some of my files for my site but I'm not able to connect to my instance.
When I run the command below:
gcloud compute --project "GCP_Project" ssh --zone "my_zone" "Instane_Name"
I got the error below:
ssh: connect to host <my_ip> port 22: Operation timed out
ERROR: (gcloud.compute.ssh) [/usr/bin/ssh] exited with return code [255].
I don't know, how can I fix this issue.
Thanks in advance!