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
Best Regards, ykostov
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.
Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.
Click below to sign up and get $200 of credit to try our products over 60 days!