[GH-ISSUE #384] kcp使用不了啊? #281

Closed
opened 2026-05-05 12:05:13 -06:00 by gitea-mirror · 3 comments
Owner

Originally created by @zhuhangyu on GitHub (Jun 28, 2017).
Original GitHub issue: https://github.com/fatedier/frp/issues/384

Issue is only used for submiting bug report and documents typo. If there are same issues or answers can be found in documents, we will close it directly.
(为了节约时间,提高处理问题的效率,不按照格式填写的 issue 将会直接关闭。)

Use the commands below to provide key information from your environment:
You do NOT have to include this information if this is a FEATURE REQUEST

What version of frp are you using (./frpc -v or ./frps -v)?
0.12.0

What operating system and processor architecture are you using (go env)?

Configures you used:
cat frps.ini
[common]
bind_addr = 0.0.0.0
bind_port = 6000
kcp_bind_port = 6000

[common]
server_addr = x.x.x.x
server_port = 6000
protocol = kcp

Steps to reproduce the issue:

  1. ./frps -c ./frps.ini 正常
    2../frpc -c ./frpc.ini 几秒钟后就exit

Describe the results you received:
显示i/o timeout

Describe the results you expected:

Additional information you deem important (e.g. issue happens only occasionally):

Can you point out what caused this issue (optional)
注释掉protocol = kcp就正常了

Originally created by @zhuhangyu on GitHub (Jun 28, 2017). Original GitHub issue: https://github.com/fatedier/frp/issues/384 Issue is only used for submiting bug report and documents typo. If there are same issues or answers can be found in documents, we will close it directly. (为了节约时间,提高处理问题的效率,不按照格式填写的 issue 将会直接关闭。) Use the commands below to provide key information from your environment: You do NOT have to include this information if this is a FEATURE REQUEST **What version of frp are you using (./frpc -v or ./frps -v)?** 0.12.0 **What operating system and processor architecture are you using (`go env`)?** **Configures you used:** cat frps.ini [common] bind_addr = 0.0.0.0 bind_port = 6000 kcp_bind_port = 6000 [common] server_addr = x.x.x.x server_port = 6000 protocol = kcp **Steps to reproduce the issue:** 1. ./frps -c ./frps.ini 正常 2../frpc -c ./frpc.ini 几秒钟后就exit 3. **Describe the results you received:** 显示i/o timeout **Describe the results you expected:** **Additional information you deem important (e.g. issue happens only occasionally):** **Can you point out what caused this issue (optional)** 注释掉protocol = kcp就正常了
Author
Owner

@fatedier commented on GitHub (Jun 28, 2017):

验证下 udp 是否能正常使用,是否被防火墙阻挡了。

<!-- gh-comment-id:311622099 --> @fatedier commented on GitHub (Jun 28, 2017): 验证下 udp 是否能正常使用,是否被防火墙阻挡了。
Author
Owner

@zhuhangyu commented on GitHub (Jun 29, 2017):

哦,确实是防火墙拒绝了udp,已经解决。谢谢。

<!-- gh-comment-id:311839292 --> @zhuhangyu commented on GitHub (Jun 29, 2017): 哦,确实是防火墙拒绝了udp,已经解决。谢谢。
Author
Owner

@laojiu613 commented on GitHub (Apr 4, 2018):

我也遇到这个问题了,但是我对应的udp端口已经开通了啊,请问你是怎么解决的?

<!-- gh-comment-id:378467752 --> @laojiu613 commented on GitHub (Apr 4, 2018): 我也遇到这个问题了,但是我对应的udp端口已经开通了啊,请问你是怎么解决的?
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#281
No description provided.