Hey, I got a quite weird problem with a docker container on a droplet.
The container runs a webserver with php. When I want to get a file via http (by the public url, not by “localhost”) I always run into timeouts.
wget http://dogvers.flarandr.de/wp-json/ens/v1/zipcity/12163 never returns something. When I retreave the URL inside my Browser its works fine. The DNS resolution also seems to woks perfectly.
I Also tried to establish a telnet connection to port 80. It works from outside, but not from inside the container.
traceroute (from inside the container) returns the following:
traceroute to 220.127.116.11 (18.104.22.168), 30 hops max, 60 byte packets 1 * * * 2 * * * 3 * * * 4 * * * 5 * * * 6 * * * 7 * * * 8 * * * 9 * * * 10 * * * [... and so on]
So its not very helpful.
I use the exact same image on another machine (not digitalocean) an there it works.
Do you have any ideas to fix this?
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.