mirror of
https://github.com/fatedier/frp.git
synced 2026-05-15 08:05:49 -06:00
[GH-ISSUE #4639] frpc.toml 配置参数新语法在 Windows 11 24H2 中不可用 #3662
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#3662
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 @hello-liuxingyu on GitHub (Jan 16, 2025).
Original GitHub issue: https://github.com/fatedier/frp/issues/4639
Bug Description
在配置完 frpc.toml 后,我尝试启动 frpc 服务,得到报错如下:
这里一个很明显的问题是 frpc 在尝试连接 0.0.0.0:7000 (dial tcp 0.0.0.0:7000: connectex: No connection could be made because the target machine actively refused it.)。但是我 frpc.toml 配置里 serverAddr = "公网ip" ,网上教程基本都是这样写的,甚至官方给的参考配置也是这样的,我几乎找遍了全网都不知道怎么回事。最后我想到了可能是 serverAddr 使用了默认值,因为 serverAddr 默认值是 0.0.0.0 ,我尝试着改为旧版本的 server_addr ,结果 frpc 正常启动。
下面是我的配置:
我想知道为什么会出现这种问题呢,我 frps 和 frpc 都使用的是最新版本 0.61.1。
frpc Version
0.61.1
frps Version
0.61.1
System Architecture
windows/amd64
Configurations
~
Logs
No response
Steps to reproduce
...
Affected area
@superzjg commented on GitHub (Jan 16, 2025):
[common]
[log]
[smb]
这些都是错误的写法,仔细看示例文档:
https://github.com/fatedier/frp/blob/dev/conf/frpc_full_example.toml
@github-actions[bot] commented on GitHub (Jan 31, 2025):
Issues go stale after 14d of inactivity. Stale issues rot after an additional 3d of inactivity and eventually close.