mirror of
https://github.com/fatedier/frp.git
synced 2026-05-15 08:05:49 -06:00
[GH-ISSUE #4105] 配置文件根据文档配置不正确了 #3238
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#3238
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 @skinhc on GitHub (Mar 25, 2024).
Original GitHub issue: https://github.com/fatedier/frp/issues/4105
Bug Description
我在使用0.56.0版本时,用frpc.toml时出现错误,无法解析remotePort字段
serverAddr = "xx.xx.xx.xx"
serverPort = 7000
auth.token = "aaaa"
proxies
name = "stcp-test1"
secretKey = "asdf"
type = "stcp"
localIP = "127.0.0.1"
localPort = 22
remotePort = 6000
frpc Version
0.56.0
frps Version
0.56.0
System Architecture
linux/amd64
Configurations
serverAddr = "xx.xx.xx.xx"
serverPort = 7000
auth.token = "aaaa"
proxies
name = "stcp-test1"
secretKey = "asdf"
type = "stcp"
localIP = "127.0.0.1"
localPort = 22
remotePort = 6000
Logs
unmarshal ProxyConfig error: json: unknown field "remotePort"
Steps to reproduce
...
Affected area
@wuai1024 commented on GitHub (Mar 25, 2024):
可以仔细检查下配置文件。
stcp不支持remotePort