[GH-ISSUE #873] 无法将nginxui绑定到额外端口,日志里提示[overseer] disabled. run failed: listen tcp <vps ip>:9000: bind: cannot assign requested address #462

Closed
opened 2026-02-26 12:08:25 +03:00 by kerem · 6 comments
Owner

Originally created by @upcyan on GitHub (Feb 19, 2025).
Original GitHub issue: https://github.com/0xJacky/nginx-ui/issues/873

通过配置app.ini,设置了Host,随后重启容器,就无法进入nginxui后台了,无论是80端口还是9000端口、IP还是域名均无法连接,端口映射9000:9000也已经配好了,检查了下此时nginx的反代还是可以正常运行的

Originally created by @upcyan on GitHub (Feb 19, 2025). Original GitHub issue: https://github.com/0xJacky/nginx-ui/issues/873 通过配置app.ini,设置了Host,随后重启容器,就无法进入nginxui后台了,无论是80端口还是9000端口、IP还是域名均无法连接,端口映射9000:9000也已经配好了,检查了下此时nginx的反代还是可以正常运行的
kerem 2026-02-26 12:08:25 +03:00
  • closed this issue
  • added the
    bug
    label
Author
Owner

@0xJacky commented on GitHub (Feb 19, 2025):

因为容器里的拿不到 VPS IP,对于容器内的应用来说这个 IP 是不存在的。你就用 0.0.0.0 就好了。

<!-- gh-comment-id:2667689125 --> @0xJacky commented on GitHub (Feb 19, 2025): 因为容器里的拿不到 VPS IP,对于容器内的应用来说这个 IP 是不存在的。你就用 0.0.0.0 就好了。
Author
Owner

@upcyan commented on GitHub (Feb 19, 2025):

配置文件里并没有任何地方需要填写IP啊,我现在是把容器网络改成host了

<!-- gh-comment-id:2667692412 --> @upcyan commented on GitHub (Feb 19, 2025): 配置文件里并没有任何地方需要填写IP啊,我现在是把容器网络改成host了
Author
Owner

@0xJacky commented on GitHub (Feb 19, 2025):

发一下配置文件内容的相关部分

<!-- gh-comment-id:2667697428 --> @0xJacky commented on GitHub (Feb 19, 2025): 发一下配置文件内容的相关部分
Author
Owner

@upcyan commented on GitHub (Feb 19, 2025):

[server]
Host = <我配置的域名>
Port = 9000
RunMode = debug
BaseUrl =

就动了这一块,其他地方没动

<!-- gh-comment-id:2667700897 --> @upcyan commented on GitHub (Feb 19, 2025): [server] Host = <我配置的域名> Port = 9000 RunMode = debug BaseUrl = 就动了这一块,其他地方没动
Author
Owner

@0xJacky commented on GitHub (Feb 19, 2025):

Host 字段,留空,或者用 0.0.0.0

<!-- gh-comment-id:2667703141 --> @0xJacky commented on GitHub (Feb 19, 2025): Host 字段,留空,或者用 0.0.0.0
Author
Owner

@upcyan commented on GitHub (Feb 19, 2025):

不能限定特定域名访问nginxui吗?

<!-- gh-comment-id:2667706096 --> @upcyan commented on GitHub (Feb 19, 2025): 不能限定特定域名访问nginxui吗?
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/nginx-ui#462
No description provided.