mirror of
https://github.com/fatedier/frp.git
synced 2026-05-15 08:05:49 -06:00
[GH-ISSUE #4688] 0.61.0服务器端配置文件不生效 #3704
Labels
No labels
In Progress
WIP
WaitingForInfo
bug
doc
duplicate
easy
enhancement
future
help wanted
invalid
lifecycle/stale
need-issue-template
need-usage-help
no plan
proposal
pull-request
question
todo
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: github-starred/frp#3704
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
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"
@superzjg commented on GitHub (Mar 1, 2025):
仔细更正配置文件错误:
https://github.com/fatedier/frp/blob/dev/conf/frps_full_example.toml
@noidnoid commented on GitHub (Mar 11, 2025):
进到容器里,用ps查看进程,看下配置文件是什么路径,正确映射配置文件
@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.