mirror of
https://github.com/fatedier/frp.git
synced 2026-05-15 16:15:49 -06:00
[GH-ISSUE #4790] 多个端口不生效 #3783
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#3783
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 @wangguichao on GitHub (May 7, 2025).
Original GitHub issue: https://github.com/fatedier/frp/issues/4790
Bug Description
我在本地想映射两个端口到服务器上,但是只能生效一个端口。
本地frpc的toml文件如下
server_addr = "********"
server_port = 7000
proxies
name = "fastgpt"
type = "tcp"
local_ip = "host.docker.internal"
local_port = 3000
remote_port = 4000
proxies
name = "openwebui"
type = "tcp"
local_ip = "host.docker.internal"
local_port = 3008
remote_port = 3008
最终在服务器端只能生效一个 3008端口
frpc Version
0.61
frps Version
0.61
System Architecture
服务器是linux/amd64,本地主机是 windows/amd64
Configurations
尝试了很多次方法都失败了
Logs
No response
Steps to reproduce
...
Affected area
@superzjg commented on GitHub (May 9, 2025):
配置文件格式都是错的,先看清楚:
https://github.com/fatedier/frp/blob/dev/conf/frpc_full_example.toml