EC2, docker-machine security group

Expected behavior

I have am ec2 instance, running a container , everything checks out when i ssh into my instance and the container is running on port 3000. I opened the ports 3000, port 80 on the security group docker-machine that os attached to the instance

Actual behavior

i am not able to see the running container form the public ip shown me in docker-machine ip command