[GH-ISSUE #668] 不使用域名的情况下,使用IP:PORT的方式可以访问内网的http服务吗?如何设置呢 #524

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

Originally created by @r0ckyang on GitHub (Mar 20, 2018).
Original GitHub issue: https://github.com/fatedier/frp/issues/668

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)?

What operating system and processor architecture are you using (go env)?

Configures you used:

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

Describe the results you received:

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)

Originally created by @r0ckyang on GitHub (Mar 20, 2018). Original GitHub issue: https://github.com/fatedier/frp/issues/668 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)?** **What operating system and processor architecture are you using (`go env`)?** **Configures you used:** **Steps to reproduce the issue:** 1. 2. 3. **Describe the results you received:** **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)**
Author
Owner

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

[common]
server_addr = x.x.x.x
server_port = 7000

[web01]
type = tcp
local_ip = 127.0.0.1
local_port = 5000
remote_port = 6000

测试了一下这个客户端设置,然后发现浏览器访问不了,但是curl能返回数据,我再继续测试一下。

<!-- gh-comment-id:374461717 --> @r0ckyang commented on GitHub (Mar 20, 2018): [common] server_addr = x.x.x.x server_port = 7000 [web01] type = tcp local_ip = 127.0.0.1 local_port = 5000 remote_port = 6000 测试了一下这个客户端设置,然后发现浏览器访问不了,但是curl能返回数据,我再继续测试一下。
Author
Owner

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

原来是我使用了一个受限的端口引起的,提了一个没有意义的问题,抱歉。

<!-- gh-comment-id:374471734 --> @r0ckyang commented on GitHub (Mar 20, 2018): 原来是我使用了一个受限的端口引起的,提了一个没有意义的问题,抱歉。
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#524
No description provided.