I have a Linux EC2 with docker running inside of it.
Docker is running 3 services. 2 are workers and one is an API.
I want to be able to call that API from outside the system but I am getting "This site can't be reached".
The service is running and the call is a simple ping
which works locally through VS so I don't believe that is the issue.
My security group has all traffic allowed with 0.0.0.0/0
.
I have attempted the following urls but no luck:
http://ec2-{public-ip}.ap-southeast-2.compute.amazonaws.com/ping
http://{public-ip}/ping
http://{public-ip}/172.17.0.2/ping (containers IP address)
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…