Connect to VM running my API in google cloud?

Viewed 36

I created a vm on google cloud running my jar file which is a spring boot app. Normally when im running it locally im hitting localhost:8080/get/blahblah but I tried connecting to the vm using its external IP and it cant reach the page. I feel like im forgetting to do something and would really appreciate some pointers here as I am new to this.

Thanks.

also ran this command to create the firewall rule within the vm enter image description here

also created this firewall rule enter image description here

0 Answers
Related