[GH-ISSUE #666] frp VNC 5900端口 #523

Closed
opened 2026-05-05 12:20:30 -06:00 by gitea-mirror · 10 comments
Owner

Originally created by @vinsec on GitHub (Mar 18, 2018).
Original GitHub issue: https://github.com/fatedier/frp/issues/666

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

What operating system and processor architecture are you using (go env)?
frps: CentOS 7.4
frpc:Win 10 x64

Configures you used:
[range:test_tcp]
type = tcp
local_ip = 127.0.0.1
local_port = 5900
remote_port = 5900

Steps to reproduce the issue:
1.Win配置frpc 可以访问web 其他配置都ok
2.配置多tcp端口 想实现远程vnc通过5900访问本地PC
3.远程访问frpc server:5900 无法连接

Describe the results you received:
无法通过vnc本地PC 即frps server无法转发发送到端口5900的请求

Describe the results you expected:
远程vnc连接

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

Can you point out what caused this issue (optional)

Originally created by @vinsec on GitHub (Mar 18, 2018). Original GitHub issue: https://github.com/fatedier/frp/issues/666 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.0 **What operating system and processor architecture are you using (`go env`)?** frps: CentOS 7.4 frpc:Win 10 x64 **Configures you used:** [range:test_tcp] type = tcp local_ip = 127.0.0.1 local_port = 5900 remote_port = 5900 **Steps to reproduce the issue:** 1.Win配置frpc 可以访问web 其他配置都ok 2.配置多tcp端口 想实现远程vnc通过5900访问本地PC 3.远程访问frpc server:5900 无法连接 **Describe the results you received:** 无法通过vnc本地PC 即frps server无法转发发送到端口5900的请求 **Describe the results you expected:** 远程vnc连接 **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:30 -06:00
Author
Owner

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

这个建议自行研究一下吧,我只能测试常规的 tcp, udp, http, https 的协议,不可能每一个应用都去深入研究。

<!-- gh-comment-id:374533760 --> @fatedier commented on GitHub (Mar 20, 2018): 这个建议自行研究一下吧,我只能测试常规的 tcp, udp, http, https 的协议,不可能每一个应用都去深入研究。
Author
Owner

@BI7PRK commented on GitHub (Mar 23, 2018):

这与FRP无关。VNC有关。
5900是默认端口。VNC Viewer 不需要填写端口号。
但如果 端口号 比如:5911(即5900+11)。VNC Viewer 应该填写:hostname:11。

<!-- gh-comment-id:375533395 --> @BI7PRK commented on GitHub (Mar 23, 2018): 这与FRP无关。VNC有关。 5900是默认端口。VNC Viewer 不需要填写端口号。 但如果 端口号 比如:5911(即5900+11)。VNC Viewer 应该填写:hostname:11。
Author
Owner

@vinsec commented on GitHub (Mar 23, 2018):

还是配置出了点问题吧 没什么大问题了

<!-- gh-comment-id:375533769 --> @vinsec commented on GitHub (Mar 23, 2018): 还是配置出了点问题吧 没什么大问题了
Author
Owner

@nijisakai commented on GitHub (Mar 31, 2018):

remote端口更改为其他,比如5911
然后VNC viewer访问serverip:5911

<!-- gh-comment-id:377706525 --> @nijisakai commented on GitHub (Mar 31, 2018): remote端口更改为其他,比如5911 然后VNC viewer访问serverip:5911
Author
Owner

@shirh19910112 commented on GitHub (Nov 5, 2018):

使用frp v0.21.0测试可以使用vnc访问家里的mac,可以转发成功并使用。

<!-- gh-comment-id:435879802 --> @shirh19910112 commented on GitHub (Nov 5, 2018): 使用frp v0.21.0测试可以使用vnc访问家里的mac,可以转发成功并使用。
Author
Owner

@reki-cool commented on GitHub (Apr 16, 2019):

使用frp v0.21.0测试可以使用vnc访问家里的mac,可以转发成功并使用。

可以看一下你的配置吗?我也遇到同样问题了

<!-- gh-comment-id:483479571 --> @reki-cool commented on GitHub (Apr 16, 2019): > 使用frp v0.21.0测试可以使用vnc访问家里的mac,可以转发成功并使用。 可以看一下你的配置吗?我也遇到同样问题了
Author
Owner

@xxyjskx1987 commented on GitHub (Jun 24, 2019):

分享一下配置?我也遇到同样问题了

<!-- gh-comment-id:504879445 --> @xxyjskx1987 commented on GitHub (Jun 24, 2019): 分享一下配置?我也遇到同样问题了
Author
Owner

@AndreGeng commented on GitHub (Oct 17, 2019):

是说这样配置吧

[range:VNC]
type = tcp
local_ip = 127.0.0.1
local_port = 5900
remote_port = 5911

然后VNC view访问ip:5911

<!-- gh-comment-id:543253111 --> @AndreGeng commented on GitHub (Oct 17, 2019): 是说这样配置吧 ``` [range:VNC] type = tcp local_ip = 127.0.0.1 local_port = 5900 remote_port = 5911 ``` 然后VNC view访问ip:5911
Author
Owner

@128keaton commented on GitHub (Nov 6, 2019):

@AndreGeng I just tried using what you posted with no such luck :(

<!-- gh-comment-id:550464068 --> @128keaton commented on GitHub (Nov 6, 2019): @AndreGeng I just tried using what you posted with no such luck :(
Author
Owner

@xuehy commented on GitHub (Dec 31, 2019):

还是配置出了点问题吧 没什么大问题了

How do you solve this?

<!-- gh-comment-id:569926614 --> @xuehy commented on GitHub (Dec 31, 2019): > > > 还是配置出了点问题吧 没什么大问题了 How do you solve this?
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#523
No description provided.