Jump to content
We're Hiring! Full Stack Developer ×

docker网络类型为custom:br0后端口修改无效


Recommended Posts

On 10/17/2022 at 12:19 AM, skydiss said:

设置br0之后,怎么改端口都是默认了。。。。

想手动修改成想要的怎么改不了

有什么办法嘛,想改成80端口,不然就浪费br0这个功能了

F6369468-BBBF-4CED-84CF-3F905EBE3BB8.jpeg

 

8181想改成80

B94D80D8-B47C-42C6-82DF-8294EFF50502.thumb.jpeg.d86074e3c0e30bc2793a6816497bda95.jpeg

点右上角的 “基本视图” 展开有一个webui ,修改 里面的 端口试下

Link to comment
  • 2 weeks later...
  • 3 months later...

It's by design.  You are putting the container onto it's own dedicated IP address and all port mappings if you try to change them are ignored by the docker system itself.  If you need to change the port for some reason, you need to do it within the application itself (if it allows you to) so that it will listen on a different port.  It cannot be done via the template

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...