这篇文章解释了为啥在Docker容器里,如果监听localhost,外界无法访问,清晰易懂: https://jiajunhuang.com/sharing#412