I have deployed this docker container.
docker container run -d -p 8080:80 --name my-nginx2 --network my-net nginx:latest
When I do a curl localhost:8080, I am able to access it. However, when I type in my <public-address>:8080 it is not working. I cannot access it on the web browser.
I am running a red hat 8 ec2 instance on AWS. My security group looks like this. I am not sure if this should be something related with SG.
Let me know if you have any questions.
Thanks.
