Quantcast
Channel: Active questions tagged amazon-ec2 - Stack Overflow
Viewing all articles
Browse latest Browse all 29434

Docker - springboot on AWS EC2

$
0
0

Just spun an EC2 ubunto on AWS. Installed Docker. Pulled my test springboot image and run it on the host. Can't access the app via browser. When I curl on the host, it does respond with valid http response. Is there a network or firewall that I should be looking at?

ubuntu@ip-172-31-4-157:~$ sudo docker ps
CONTAINER ID        IMAGE                                      COMMAND                  CREATED             STATUS              PORTS                    NAMES
ea9879c1b38c        parikshit123/docker-spring-boot:firsttry   "java -jar docker-sp…"   20 minutes ago      Up 20 minutes       0.0.0.0:8085->8085/tcp   frosty_sammet
ubuntu@ip-172-31-4-157:~$ curl localhost:8085/test/hello
Hello from Mitalubuntu@ip-172-31-4-157:~$

Viewing all articles
Browse latest Browse all 29434

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>