How to set droplet listen to port 4000 /with docker/
I have an active docker container listening to port 4000. Following this tutorial https://axelclark.com/deploy-phoenix-to-digital-ocean/ everything seems right, but obviously the droplet is not listening to this port, cause there is no output on the net with the IP. How do I set my droplet listen to certain port?
$ docker ps (...) STATUS PORTS (...) (...) Up 18 hours 4000/tcp (...)
$ ping 12.345.678.910 64 bytes from 12.345.678.910: icmp_seq=1 ttl=55 time=38.6 ms 64 bytes from 12.345.678.910: icmp_seq=2 ttl=55 time=37.8 ms 64 bytes from 12.345.678.910: icmp_seq=3 ttl=55 time=36.7 ms
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.×