New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Confusing docs on host/port binding #1612
Comments
The solution may be as simple as making the sentence part of the previous paragraph. |
@delvedor good to know! I’m just happy to see that my concerns are shared. (BTW we met in Rome few weeks ago — I told you I would look at fastify!) @jsumners that same paragraphs covers both |
Submit a PR with your proposed change. |
Will gladly do so, can you please confirm that |
Yes! 0.0.0.0 is actually needed in containerized environments. |
The previous version of the documentation didn’t make it clear that the correct approach in containerized environments is to bind to `::` or `0.0.0.0`. We now explictly suggest the correct approach. Fixes fastify#1612
📝 Documentation Problem
In the Getting Started section of the documentation there’s a “Note” section about host binding (source). That section concludes with (emphasis mine):
Since in the section there are 2 different approaches exposed (
127.0.0.1
vs0.0.0.0
) the termthis
doesn’t help the reader understand which one should be used in the context of containers.Solution Proposal
I’m no network/docker expert, so please forgive me if I inferred incorrectly (which would just add value to this issue report!) but I suggest to explicitly give the reader some directions:
The text was updated successfully, but these errors were encountered: