[GH-ISSUE #4143] 最新版0.57.0的windows版本和Linux版本 #3268

Closed
opened 2026-05-05 14:06:42 -06:00 by gitea-mirror · 3 comments
Owner

Originally created by @suixin7260 on GitHub (Apr 10, 2024).
Original GitHub issue: https://github.com/fatedier/frp/issues/4143

Bug Description

分别在windows、linux配置frpc,无法正常运行frp客户端

frpc Version

0.57.0

frps Version

0.57.0

System Architecture

linux/amd64,windows/amd64

Configurations

serverAddr = "xxx.xxx.xx.xxx"
serverPort = 7000
auth.token = "xxx"

proxies
name = "test-tcp"
type = "http"
localIP = "127.0.0.1"
localPort = 9000
remotePort = 80

Logs

No response

Steps to reproduce

  1. linux:执行./frpc -c frpc.toml unmarshal ProxyConfig error: json: unknown field "remotePort"
  2. windows:执行start frpc.exe -c frpc.toml,无任何响应

Affected area

  • Docs
  • Installation
  • Performance and Scalability
  • Security
  • User Experience
  • Test and Release
  • Developer Infrastructure
  • Client Plugin
  • Server Plugin
  • Extensions
  • Others
Originally created by @suixin7260 on GitHub (Apr 10, 2024). Original GitHub issue: https://github.com/fatedier/frp/issues/4143 ### Bug Description 分别在windows、linux配置frpc,无法正常运行frp客户端 ### frpc Version 0.57.0 ### frps Version 0.57.0 ### System Architecture linux/amd64,windows/amd64 ### Configurations serverAddr = "xxx.xxx.xx.xxx" serverPort = 7000 auth.token = "xxx" [[proxies]] name = "test-tcp" type = "http" localIP = "127.0.0.1" localPort = 9000 remotePort = 80 ### Logs _No response_ ### Steps to reproduce 1. linux:执行./frpc -c frpc.toml unmarshal ProxyConfig error: json: unknown field "remotePort" 2. windows:执行start frpc.exe -c frpc.toml,无任何响应 ### Affected area - [ ] Docs - [ ] Installation - [ ] Performance and Scalability - [ ] Security - [X] User Experience - [X] Test and Release - [ ] Developer Infrastructure - [ ] Client Plugin - [ ] Server Plugin - [ ] Extensions - [ ] Others
Author
Owner

@fatedier commented on GitHub (Apr 10, 2024):

Remove remotePort

<!-- gh-comment-id:2046948595 --> @fatedier commented on GitHub (Apr 10, 2024): Remove `remotePort`
Author
Owner

@suixin7260 commented on GitHub (Apr 12, 2024):

Remove remotePort

去掉这个之后,如何配置远程服务器的端口

<!-- gh-comment-id:2051348848 --> @suixin7260 commented on GitHub (Apr 12, 2024): > Remove `remotePort` 去掉这个之后,如何配置远程服务器的端口
Author
Owner

@cainsyake commented on GitHub (May 27, 2024):

参考 https://gofrp.org/zh-cn/docs/examples/stcp

@suixin7260

<!-- gh-comment-id:2133660735 --> @cainsyake commented on GitHub (May 27, 2024): 参考 https://gofrp.org/zh-cn/docs/examples/stcp @suixin7260
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#3268
No description provided.