[GH-ISSUE #4088] remotePort,一直报错 #3225

Closed
opened 2026-05-05 14:04:59 -06:00 by gitea-mirror · 2 comments
Owner

Originally created by @FanyuanCode on GitHub (Mar 20, 2024).
Original GitHub issue: https://github.com/fatedier/frp/issues/4088

Bug Description

一直不识别这个字段配置,为什么呢?

frpc Version

v0.55.1

frps Version

latest

System Architecture

windows/amd64

Configurations

serverAddr = "###"
serverPort = 9004
auth.token = "###"

proxies
name = "rdp-fanyuan"
type = "sudp"
localIP = "127.0.0.1"
localPort = 3389
secretKey= "###"
remotePort = 6000

Logs

日志:
unmarshal ProxyConfig error: json: unknown field "remotePort"
2024/03/20 周三 17:17:21.79: Script executed

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 @FanyuanCode on GitHub (Mar 20, 2024). Original GitHub issue: https://github.com/fatedier/frp/issues/4088 ### Bug Description 一直不识别这个字段配置,为什么呢? ### frpc Version v0.55.1 ### frps Version latest ### System Architecture windows/amd64 ### Configurations serverAddr = "###" serverPort = 9004 auth.token = "###" [[proxies]] name = "rdp-fanyuan" type = "sudp" localIP = "127.0.0.1" localPort = 3389 secretKey= "###" remotePort = 6000 ### Logs 日志: unmarshal ProxyConfig error: json: unknown field "remotePort" 2024/03/20 周三 17:17:21.79: Script executed ### Steps to reproduce 1. 2. 3. ... ### Affected area - [ ] Docs - [ ] Installation - [ ] Performance and Scalability - [ ] Security - [ ] User Experience - [ ] Test and Release - [ ] Developer Infrastructure - [ ] Client Plugin - [ ] Server Plugin - [ ] Extensions - [X] Others
Author
Owner

@jikunchong commented on GitHub (Mar 22, 2024):

type = "sudp" 带 secretKey,没有这个类型吧?
要配置 RDP 穿透,改为 TCP 试试:

[[proxies]]
name = "rdp-fanyuan"
type = "tcp"
localIP = "127.0.0.1"
localPort = 3389
remotePort = 6000
<!-- gh-comment-id:2014452695 --> @jikunchong commented on GitHub (Mar 22, 2024): type = "sudp" 带 secretKey,没有这个类型吧? 要配置 RDP 穿透,改为 TCP 试试: ```toml [[proxies]] name = "rdp-fanyuan" type = "tcp" localIP = "127.0.0.1" localPort = 3389 remotePort = 6000 ```
Author
Owner

@FanyuanCode commented on GitHub (Mar 22, 2024):

谢谢,我知道了。刚刚弄好。

<!-- gh-comment-id:2014621070 --> @FanyuanCode commented on GitHub (Mar 22, 2024): 谢谢,我知道了。刚刚弄好。
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#3225
No description provided.