[GH-ISSUE #1259] type 为 http和 type 为tcp 对于同样80端口的服务有啥区别吗? #996

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

Originally created by @duanzan on GitHub (May 25, 2019).
Original GitHub issue: https://github.com/fatedier/frp/issues/1259

我看 还有个 vhost port 8080 然后可以用域名 www.yourname.com:8080 访问 http类型的服务

那和 直接把 www.yourname.com A记录到frps服务器上 然后 浏览器 访问www.yourname.com:8080 这个被转发的tcp类型的服务 有啥区别呢

Originally created by @duanzan on GitHub (May 25, 2019). Original GitHub issue: https://github.com/fatedier/frp/issues/1259 我看 还有个 vhost port 8080 然后可以用域名 www.yourname.com:8080 访问 http类型的服务 那和 直接把 www.yourname.com A记录到frps服务器上 然后 浏览器 访问www.yourname.com:8080 这个被转发的tcp类型的服务 有啥区别呢
Author
Owner

@fatedier commented on GitHub (Jun 4, 2019):

没有太多的区别,vhost 是为了复用端口,包括提供针对 HTTP 协议的一些特殊能力。

<!-- gh-comment-id:498512428 --> @fatedier commented on GitHub (Jun 4, 2019): 没有太多的区别,vhost 是为了复用端口,包括提供针对 HTTP 协议的一些特殊能力。
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#996
No description provided.