mirror of
https://github.com/fatedier/frp.git
synced 2026-05-15 16:15:49 -06:00
[GH-ISSUE #779] 使用FRP弹错 #607
Labels
No labels
In Progress
WIP
WaitingForInfo
bug
doc
duplicate
easy
enhancement
future
help wanted
invalid
lifecycle/stale
need-issue-template
need-usage-help
no plan
proposal
pull-request
question
todo
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: github-starred/frp#607
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @q8263542 on GitHub (May 19, 2018).
Original GitHub issue: https://github.com/fatedier/frp/issues/779
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.1
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)
出现如下问题
The page you visit not found.
Sorry, the page you are looking for is currently unavailable.
Please try again later.
The server is powered by frp.
Faithfully yours, frp.
@wangxianfeng commented on GitHub (May 19, 2018):
像这种问题就不要提issue了吧,这种是因为没有配置对,具体哪里没有配置对,因为你的配置也没有贴,别人没法帮你,可以多看看官方使用文档,多摸索一下。
@q8263542 commented on GitHub (May 19, 2018):
好的,谢谢了
@q8263542 commented on GitHub (May 19, 2018):
==========客户端配置:==========
[common]
server_addr = 我的IP
server_port = 7000
token = 12345
log_file = /dev/null
log_level = info
log_max_days = 3
[web]
remote_port = 8000
type = http
local_ip = 192.168.123.1
local_port = 80
subdomain = test
#host_header_rewrite = 实际你内网访问的域名,可以供公网的域名不一致,如果一致可以不写
==========服务端配置:==========
[common]
bind_port = 7000
dashboard_port = 7500
dashboard 用户名密码,默认都为 admin
dashboard_user = admin
dashboard_pwd = admin
vhost_http_port = 8000
token = 12345
subdomain_host = 我的IP
max_pool_count = 50
log_file = /dev/null
log_level = info
log_max_days = 3
====================
请问哪里设置问题吗?
打开 我的IP:7500,能显示后台已连接上。但是无数据传输
@wangxianfeng commented on GitHub (May 19, 2018):
你的配置:
[web]
remote_port = 8000
type = http
local_ip = 192.168.123.1
local_port = 80
subdomain = test
官方文档配置:
[web]
type = http
local_port = 80
custom_domains = www.yourdomain.com
web服务是不需要remote_port的。
然后你访问你的子域名的时候看看能够解析到你的服务端的IP,域名那里也需要配置。域名要能解析到你的服务器IP
@xiaoyell commented on GitHub (May 19, 2018):
subdomain_host = 我的IP
这个不对,应该是你的根域名