[GH-ISSUE #667] 修改启动端口无效 #6110

Closed
opened 2026-03-01 17:09:34 +03:00 by kerem · 4 comments
Owner

Originally created by @liuhd92 on GitHub (Oct 28, 2024).
Original GitHub issue: https://github.com/0xJacky/nginx-ui/issues/667

Describe the bug
linux服务器中,9000端口已被占用,修改为其他的端口,再次启动错误日志中,依然提示9000端口被占用

Originally created by @liuhd92 on GitHub (Oct 28, 2024). Original GitHub issue: https://github.com/0xJacky/nginx-ui/issues/667 **Describe the bug** linux服务器中,9000端口已被占用,修改为其他的端口,再次启动错误日志中,依然提示9000端口被占用
kerem 2026-03-01 17:09:34 +03:00
  • closed this issue
  • added the
    bug
    label
Author
Owner

@0xJacky commented on GitHub (Oct 28, 2024):

版本是? 配置文件可以贴出来看看吗,谢谢。

<!-- gh-comment-id:2440777704 --> @0xJacky commented on GitHub (Oct 28, 2024): 版本是? 配置文件可以贴出来看看吗,谢谢。
Author
Owner

@0xJacky commented on GitHub (Oct 28, 2024):

我这无法复现

<!-- gh-comment-id:2440965704 --> @0xJacky commented on GitHub (Oct 28, 2024): 我这无法复现
Author
Owner

@siitao commented on GitHub (Oct 31, 2024):

确实不生效 版本:v2.0.0-beta.39 部分配置文件信息

[server]
HttpPort             = 9090
RunMode              = release
JwtSecret            = 
Email                = 
HTTPChallengePort    = 9180
StartCmd             = bash
Database             = database
CADir                = 
GithubProxy          = 
NodeSecret           = 
Demo                 = false
PageSize             = 10
HttpHost             = 192.168.0.161
CertRenewalInterval  = 7
RecursiveNameservers = 
SkipInstallation     = false
Name                 = 
InsecureSkipVerify   = false

[nginx]
AccessLogPath = /var/log/nginx/access.log
ErrorLogPath  = /var/log/nginx/error.log
ConfigDir     = 
PIDPath       = 
TestConfigCmd = 
ReloadCmd     = 
RestartCmd    =

image

<!-- gh-comment-id:2448977545 --> @siitao commented on GitHub (Oct 31, 2024): 确实不生效 版本:v2.0.0-beta.39 部分配置文件信息 ``` [server] HttpPort = 9090 RunMode = release JwtSecret = Email = HTTPChallengePort = 9180 StartCmd = bash Database = database CADir = GithubProxy = NodeSecret = Demo = false PageSize = 10 HttpHost = 192.168.0.161 CertRenewalInterval = 7 RecursiveNameservers = SkipInstallation = false Name = InsecureSkipVerify = false [nginx] AccessLogPath = /var/log/nginx/access.log ErrorLogPath = /var/log/nginx/error.log ConfigDir = PIDPath = TestConfigCmd = ReloadCmd = RestartCmd = ``` ![image](https://github.com/user-attachments/assets/5a92c917-fb70-4d6a-82bf-762bc7025a8d)
Author
Owner

@0xJacky commented on GitHub (Oct 31, 2024):

@liuhd92 @siitao 您好,新版改了配置文件结构,正常情况下会自动迁移,除非没有权限,或其他异常状况,导致配置文件迁移失败。
请参考文档手动配置,https://nginxui.com/zh_CN/guide/config-server.html

<!-- gh-comment-id:2448982296 --> @0xJacky commented on GitHub (Oct 31, 2024): @liuhd92 @siitao 您好,新版改了配置文件结构,正常情况下会自动迁移,除非没有权限,或其他异常状况,导致配置文件迁移失败。 请参考文档手动配置,https://nginxui.com/zh_CN/guide/config-server.html
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#6110
No description provided.