[GH-ISSUE #663] 保持持续连接问题 #521

Closed
opened 2026-05-05 12:20:26 -06:00 by gitea-mirror · 1 comment
Owner

Originally created by @forwei on GitHub (Mar 13, 2018).
Original GitHub issue: https://github.com/fatedier/frp/issues/663

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.16

What operating system and processor architecture are you using (go env)?
ubuntu 16.04 server
windows server 2008 client

Configures you used:
server:
[common]
bind_port = 7000
client:
[common]
server_addr = SERVER_IP
server_port = 7000

[1433]
type = tcp
local_ip = 127.0.0.1
local_port = 1433
remote_port = 1433

[1434]
type = udp
local_ip = 127.0.0.1
local_port = 1434
remote_port = 1434

Steps to reproduce the issue:
1.经过frpc的Windows版本客户端穿透访问MSSQL数据库

Describe the results you received:
Describe the results you expected:
能正常穿透连接到MSSQL服务器,但是当连接在不活动的时候,就会自动断开MSSQL连接,不能保持持续连接!

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

Can you point out what caused this issue (optional)

Originally created by @forwei on GitHub (Mar 13, 2018). Original GitHub issue: https://github.com/fatedier/frp/issues/663 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.16 **What operating system and processor architecture are you using (`go env`)?** ubuntu 16.04 server windows server 2008 client **Configures you used:** server: [common] bind_port = 7000 client: [common] server_addr = SERVER_IP server_port = 7000 [1433] type = tcp local_ip = 127.0.0.1 local_port = 1433 remote_port = 1433 [1434] type = udp local_ip = 127.0.0.1 local_port = 1434 remote_port = 1434 **Steps to reproduce the issue:** 1.经过frpc的Windows版本客户端穿透访问MSSQL数据库 **Describe the results you received:** **Describe the results you expected:** 能正常穿透连接到MSSQL服务器,但是当连接在不活动的时候,就会自动断开MSSQL连接,不能保持持续连接! **Additional information you deem important (e.g. issue happens only occasionally):** **Can you point out what caused this issue (optional)**
gitea-mirror 2026-05-05 12:20:26 -06:00
Author
Owner

@fatedier commented on GitHub (Mar 14, 2018):

frp 不会主动断开连接,要穿透的服务和客户端自己维持长连接即可。请通过测试或调试的方式提供更多的信息来说明这个问题。

<!-- gh-comment-id:373061130 --> @fatedier commented on GitHub (Mar 14, 2018): frp 不会主动断开连接,要穿透的服务和客户端自己维持长连接即可。请通过测试或调试的方式提供更多的信息来说明这个问题。
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#521
No description provided.