mirror of
https://github.com/fatedier/frp.git
synced 2026-05-15 08:05:49 -06:00
[GH-ISSUE #1511] 小白求protocol = websocket 使用教程 #1192
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#1192
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 @zqlanly on GitHub (Nov 12, 2019).
Original GitHub issue: https://github.com/fatedier/frp/issues/1511
小白求protocol = websocket 使用教程
@fatedier commented on GitHub (Nov 12, 2019):
frpc.ini 设置这个参数即可,只是在 frpc 和 frps 建立连接时会使用 websocket 协议来建立连接。
@litongjava commented on GitHub (Nov 14, 2019):
@fatedier
客户端需要经过下面的配置
这配置之后 frpc和frps第一次通讯,仍然会使用tcp,不会使用websocket,
可以修改后成frpc和frps自己的所有通讯都使用websocket传输吗?
为什么要这样修改?
因为这样修改可以使用nginx代理websocket到到frps,可以继续使用nginx的原有的80端口
@litongjava commented on GitHub (Nov 14, 2019):
启动客户端,出现错误如下
测试失败,frpc和frps第一次连接时使用依旧是tcp协议吗?
@fatedier commented on GitHub (Nov 15, 2019):
配置在 [common] 下面。
@litongjava commented on GitHub (Nov 18, 2019):
测试成功
@commandoccz commented on GitHub (Jun 26, 2023):
@litongjava Hey buddy, may I ask how did you succeed? It seems my configuration is not working.
https://github.com/fatedier/frp/issues/3495