Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

XTCP 出现错误 #884

Closed
kasuganosoras opened this issue Aug 9, 2018 · 2 comments
Closed

XTCP 出现错误 #884

kasuganosoras opened this issue Aug 9, 2018 · 2 comments

Comments

@kasuganosoras
Copy link

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)?
frps 0.17.0
frpc 0.17.0
frpc-visitor 0.17.0

What operating system and processor architecture are you using (go env)?
frps CentOs 7.5
frpc Windows 10
frpc-visitor Windows 7

Configures you used:
【Frpc】
[common]
server_addr = ***********
server_port = 2333
tcp_mux = true
auth_token = ***********
sttl = 180
privilege_token = ***********

[<4433>dsy2007:10334]
privilege_mode = true
type = xtcp
sk = 123456789
local_ip = 127.0.0.1
local_port = 8233

【Frpc_vistor】
[common]
server_addr = ***********
server_port = 2333
tcp_mux = true
auth_token = ***********
sttl = 180
privilege_token = ***********

Proxys

[Client@<4433>dsy2007:10334]
privilege_mode = true
type = xtcp
role = visitor
server_name = <4433>dsy2007:10334
sk = 123456789
bind_addr = 127.0.0.1
bind_port = 8233

Steps to reproduce the issue:
1.
2.
3.

Describe the results you received:
Visitor 提示启动来宾成功,但是连接 localhost:8233 时 Visitor 客户端出现:
Only one usage of each socket address (protocol/network address/port) is normally permitted
然后连接失败。

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)

@kasuganosoras
Copy link
Author

同样的配置,把 xtcp 改成 stcp 就可以正常连接,没有出现错误。

@fatedier
Copy link
Owner

fatedier commented Aug 9, 2018

https://github.com/fatedier/frp/blob/master/README_zh.md#%E7%82%B9%E5%AF%B9%E7%82%B9%E5%86%85%E7%BD%91%E7%A9%BF%E9%80%8F

注意文档说明,出错或连不上的情况下请使用 stcp 。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants