I am trying to run a spring boot application with a prerequisite of java 8 and maven (both are installed) properly. while running test:
mvn clean test
it ran completed as SUCCESS and also
mvn spring-boot:run
completed success
But when I execute the below command locally
curl http://localhost:8080/actuator/info
connect was refused error with curl 7
I am using CENTOS on GCP and has enabled the traffic for port 8080 in the security in GCP. Can anyone help with this, is there I am missing?