[GH-ISSUE #4688] 0.61.0服务器端配置文件不生效 #3704

Closed
opened 2026-05-05 14:22:27 -06:00 by gitea-mirror · 3 comments
Owner

Originally created by @13811787801 on GitHub (Feb 27, 2025).
Original GitHub issue: https://github.com/fatedier/frp/issues/4688

我在配置文件中修改了端口,但是启动后依然启动的7000端口,这是为什么?难道你的服务器端写死了端口吗?
./frps -c ./frps.toml
WARNING: ini format is deprecated and the support will be removed in the future, please use yaml/json/toml format instead!
2025-02-27 11:38:51.150 [I] [frps/root.go:105] frps uses config file: ./frps.toml
2025-02-27 11:38:51.160 [I] [server/service.go:237] frps tcp listen on 0.0.0.0:7000
2025-02-27 11:38:51.161 [I] [frps/root.go:114] frps started successfully

我的配置文件内容:
more frps.toml

[common]
bindPort = 7500
tls_cert_file = "/usr/local/frp/certificate.crt"
tls_key_file = "/usr/local/frp/private_no_pass.key"

Originally created by @13811787801 on GitHub (Feb 27, 2025). Original GitHub issue: https://github.com/fatedier/frp/issues/4688 我在配置文件中修改了端口,但是启动后依然启动的7000端口,这是为什么?难道你的服务器端写死了端口吗? ./frps -c ./frps.toml WARNING: ini format is deprecated and the support will be removed in the future, please use yaml/json/toml format instead! 2025-02-27 11:38:51.150 [I] [frps/root.go:105] frps uses config file: ./frps.toml 2025-02-27 11:38:51.160 [I] [server/service.go:237] frps tcp listen on 0.0.0.0:7000 2025-02-27 11:38:51.161 [I] [frps/root.go:114] frps started successfully 我的配置文件内容: more frps.toml [common] bindPort = 7500 tls_cert_file = "/usr/local/frp/certificate.crt" tls_key_file = "/usr/local/frp/private_no_pass.key"
gitea-mirror 2026-05-05 14:22:27 -06:00
Author
Owner

@superzjg commented on GitHub (Mar 1, 2025):

仔细更正配置文件错误:
https://github.com/fatedier/frp/blob/dev/conf/frps_full_example.toml

<!-- gh-comment-id:2691852261 --> @superzjg commented on GitHub (Mar 1, 2025): 仔细更正配置文件错误: https://github.com/fatedier/frp/blob/dev/conf/frps_full_example.toml
Author
Owner

@noidnoid commented on GitHub (Mar 11, 2025):

进到容器里,用ps查看进程,看下配置文件是什么路径,正确映射配置文件

<!-- gh-comment-id:2713904705 --> @noidnoid commented on GitHub (Mar 11, 2025): 进到容器里,用ps查看进程,看下配置文件是什么路径,正确映射配置文件
Author
Owner

@github-actions[bot] commented on GitHub (Mar 26, 2025):

Issues go stale after 14d of inactivity. Stale issues rot after an additional 3d of inactivity and eventually close.

<!-- gh-comment-id:2752838816 --> @github-actions[bot] commented on GitHub (Mar 26, 2025): Issues go stale after 14d of inactivity. Stale issues rot after an additional 3d of inactivity and eventually close.
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: github-starred/frp#3704
No description provided.