Reputation: 11
I have created instance on google cloud platform (allowed http traffic). Used Ubuntu 14.04 OS. Installed oracle java8 and apache-tomcat.Placed war file in tomcat webapps and started server. Server started successfully.
Question is how to access my application, tried accessing external ip of instance from web browser but no response.
Can anyone tell me the process or missing things I have not done.
Thanks in advance.
Upvotes: 1
Views: 2860
Reputation: 11
I had the same issue and eventually solved it In my case the solution was simple.Check the firewall rule is really tcp:8080 and not tcp:80 as created by default. Changed this and finally saw my tomcat welcome page.
Upvotes: 1
Reputation: 21
1)Added http port (8080) in firewall rules in Networking section
2)Refreshing VM instance by click refresh option before accessing with external ip followed by http server port(8080)
I hope after following first step, need to refresh VM instance to access web serve with external IP
Upvotes: 0