[GH-ISSUE #4877] unmarshal ProxyConfig error: json: unknown field "remotePort" #3845

Closed
opened 2026-05-05 14:27:31 -06:00 by gitea-mirror · 0 comments
Owner

Originally created by @mela93 on GitHub (Jul 10, 2025).
Original GitHub issue: https://github.com/fatedier/frp/issues/4877

Bug Description

unmarshal ProxyConfig error: json: unknown field "remotePort"

frpc Version

0.63.0

frps Version

0.63.0

System Architecture

linux/amd64

Configurations

cat frpc.toml

serverAddr = "123.123.123.123"
serverPort = 8001
auth.token = "TokenTokenToken"

[[proxies]]
name = "ubuntu"
type = "stcp"
secretKey = "KeyKeyKey"
localIp= "127.0.0.1"
localPort = 22
remotePort = 8000

Logs

./frpc -c ./frpc.toml
unmarshal ProxyConfig error: json: unknown field "remotePort"

Steps to reproduce

...

Affected area

  • Docs
  • Installation
  • Performance and Scalability
  • Security
  • User Experience
  • Test and Release
  • Developer Infrastructure
  • Client Plugin
  • Server Plugin
  • Extensions
  • Others
Originally created by @mela93 on GitHub (Jul 10, 2025). Original GitHub issue: https://github.com/fatedier/frp/issues/4877 ### Bug Description unmarshal ProxyConfig error: json: unknown field "remotePort" ### frpc Version 0.63.0 ### frps Version 0.63.0 ### System Architecture linux/amd64 ### Configurations `cat frpc.toml` ```toml serverAddr = "123.123.123.123" serverPort = 8001 auth.token = "TokenTokenToken" [[proxies]] name = "ubuntu" type = "stcp" secretKey = "KeyKeyKey" localIp= "127.0.0.1" localPort = 22 remotePort = 8000 ``` ### Logs ```sh ./frpc -c ./frpc.toml unmarshal ProxyConfig error: json: unknown field "remotePort" ``` ### Steps to reproduce 1. 2. 3. ... ### Affected area - [ ] Docs - [ ] Installation - [ ] Performance and Scalability - [ ] Security - [x] User Experience - [ ] Test and Release - [ ] Developer Infrastructure - [ ] Client Plugin - [ ] Server Plugin - [ ] Extensions - [ ] Others
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: github-starred/frp#3845
No description provided.