Question

What are valid host ports can be used by docker to map to 443 SSL

I remember I came across some where (I lost the site), which mentions only certain host ports can be used by Docker in Digital Ocean, to map to docker container’s 443. For instance, here’s the list of mapping I know is valid

443:443
2053:443
8443:443

May I know what else ports can be used? Is there any official document about this?


Submit an answer

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!

Sign In or Sign Up to Answer

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.

Want to learn more? Join the DigitalOcean Community!

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.

Hello,

I don’t think that there are any official ports that you should use. As long as you are consistent and document in your own knowledge base what each port is for, then it should be fine I believe.

Regards, Bobby