[GH-ISSUE #792] server 能只监听端口来自localhost的吗 #616

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

Originally created by @feng409 on GitHub (May 25, 2018).
Original GitHub issue: https://github.com/fatedier/frp/issues/792

我是通过nginx反向代理,二级域名匹配,
因此不需要直接访问示例中的 vhost_http_port = 8080 端口,
能否设置 vhost_http_port 为 127.0.0.1:8080 而不是 0.0.0.0:8080

Originally created by @feng409 on GitHub (May 25, 2018). Original GitHub issue: https://github.com/fatedier/frp/issues/792 我是通过nginx反向代理,二级域名匹配, 因此不需要直接访问示例中的 vhost_http_port = 8080 端口, 能否设置 vhost_http_port 为 **127.0.0.1:8080** 而不是 **0.0.0.0:8080**
Author
Owner

@fatedier commented on GitHub (May 25, 2018):

请参考完整的配置文件内容: frpc_full.ini

<!-- gh-comment-id:392142584 --> @fatedier commented on GitHub (May 25, 2018): 请参考完整的配置文件内容: [frpc_full.ini](https://github.com/fatedier/frp/blob/master/conf/frps_full.ini)
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#616
No description provided.