mirror of
https://github.com/fatedier/frp.git
synced 2026-05-15 16:15:49 -06:00
[GH-ISSUE #4724] unmarshal ProxyConfig error: json: unknown field "remotePort" #3728
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#3728
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 @a982338665 on GitHub (Mar 24, 2025).
Original GitHub issue: https://github.com/fatedier/frp/issues/4724
Bug Description
客户端代理配置如下:
proxies
name = "web"
type = "tcp"
localIP = "127.0.0.1"
localPort = 80
remotePort = 7003
此配置启动无问题,修改tcp为http后启动报错如下
unmarshal ProxyConfig error: json: unknown field "remotePort"
frpc Version
0.61.2
frps Version
0.61.2
System Architecture
windows/amd64
Configurations
客户端代理配置如下:
proxies
name = "web"
type = "tcp"
localIP = "127.0.0.1"
localPort = 80
remotePort = 7003
此配置启动无问题,修改tcp为http后启动报错如下
unmarshal ProxyConfig error: json: unknown field "remotePort"
Logs
No response
Steps to reproduce
...
Affected area
@PANDAJSR commented on GitHub (Aug 27, 2025):
怎么解决的
@wukan1986 commented on GitHub (Sep 13, 2025):
明白了,不支持
remotePort,只能frps.toml中写vhostHTTPPort