mirror of
https://github.com/fatedier/frp.git
synced 2026-05-15 08:05:49 -06:00
[GH-ISSUE #4441] 配置文件格式 #3510
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#3510
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 @Jianfei-DinG on GitHub (Sep 15, 2024).
Original GitHub issue: https://github.com/fatedier/frp/issues/4441
Describe the feature request
Describe alternatives you've considered
我在文档中 查看的配置 为什么是无法链接的
比如在 frpc.toml里的下面配置就是无法链接的
serverAddr = "x.x.x.x"
serverPort = 7000
换成
server_addr = "x.x.x.x"
server_port = 7000
就正常链接,我不清楚 问题在那里 在在很多 配置里有的功能 写了 但是也好像没生效,能规范一下 吗
Affected area
@xqzr commented on GitHub (Sep 15, 2024):
不能,要保留兼容性
你可能在头部添加了
[common]删除它,即可与文档匹配@Jianfei-DinG commented on GitHub (Sep 15, 2024):
我删除了 就是这种改成和这个一样的就是连接不上 服务器可以 客户端改成这样就连不上

@xqzr commented on GitHub (Sep 16, 2024):
如果,配置文件扩展名是
.ini,可以尝试改为.toml@superzjg commented on GitHub (Sep 16, 2024):
一般是格式错,只要有一个不对就会报错。你可以把 frps 和 frpc 双方的完整配置文件贴出来,看看。
@fatedier commented on GitHub (Sep 18, 2024):
请先完全按照文档提供的内容进行测试,如果确认是 bug,请按照 bug 反馈,并提供详细的配置信息和报错内容。