Comments (6)
TOML格式语法: https://toml.io/cn/v1.0.0
frps.toml
[webServer]
port = 7500
user = "admin"
password = "admin"
或者
webServer = { port = 7500, user = "admin", password = "admin" }
from frp.
#3709
It could be fixed by adding webServer.addr = "0.0.0.0" to Configurations
from frp.
使用这个配置:
bindPort = 7000
[webServer]
port = 7005
user = "admin"
password = "admin"
启动后提示是成功的,但是网页上打开就是空白的。
[root@ubuntu frp]# ./frps -c frps.toml
2024/02/28 13:49:07 [I] [root.go:105] frps uses config file: frps.toml
2024/02/28 13:49:07 [I] [service.go:225] frps tcp listen on 0.0.0.0:7000
2024/02/28 13:49:07 [I] [root.go:114] frps started successfully
2024/02/28 13:49:07 [I] [service.go:338] dashboard listen on 127.0.0.1:7005
from frp.
这个就是成功了 dashboard监听在7005端口 浏览器输入ip:7005应该就能看到的
from frp.
使用这个配置:
bindPort = 7000 [webServer] port = 7005 user = "admin" password = "admin"
启动后提示是成功的,但是网页上打开就是空白的。
[root@ubuntu frp]# ./frps -c frps.toml 2024/02/28 13:49:07 [I] [root.go:105] frps uses config file: frps.toml 2024/02/28 13:49:07 [I] [service.go:225] frps tcp listen on 0.0.0.0:7000 2024/02/28 13:49:07 [I] [root.go:114] frps started successfully 2024/02/28 13:49:07 [I] [service.go:338] dashboard listen on 127.0.0.1:7005
你的日志很明显说明dashboard已经开启了 127.0.0.1:7005的监听,但是要知道127.0.0.1是本机地址,只有在本机才能访问。如果是远程访问,需要改地址配置:webServer.addr
from frp.
#frp服务仪表板配置
webServer.port = 7300
webServer.addr = "0.0.0.0"
webServer.user = "admin"
webServer.password = "admin"
综上,使用这个配置方式可以
from frp.
Related Issues (20)
- [Feature Request] frps启动相对以前的启动挺慢的 HOT 1
- An attempt was made to access a socket in a way forbidden by its access permissions. HOT 1
- 端口被占用,怎么解决 HOT 1
- 心跳为什么中断链接 关闭心跳也会中断 HOT 4
- [Feature Request] 希望TCP可以支持hostHeaderRewrite(类似于tcp2https)IP+自签证书情况 HOT 1
- Template render cannot handle "hostname"
- [Feature Request] Can load balancing support more strategies like weighted round robin? HOT 2
- 问题: 设置Subdomain使用上遇到了问题 HOT 5
- iStore安装的frps插件,打开管理界面失败,请问如何处理? HOT 1
- Question HOT 1
- [Feature Request] add metadatas to `frpc` proxy commands HOT 1
- 配置文件格式 HOT 5
- Frp https proxy fail HOT 4
- 我希望能增加一种鉴权方式。通过注册用户的方式让frps允许frpc连接。 HOT 1
- frpc是否支持通过frps上面统一配置管理 HOT 4
- unknown visitor type http HOT 1
- traffic不显示的? HOT 1
- [E] [service.go:293] user错误,您的usertoken可能已被刷新。 HOT 1
- [Feature Request] 客户端为何不显示visitors的结果?
- win7无法运行,提示runtime.asmstdcall(0x22fcf8) runtime/sys_windows_amd64.s:7 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from frp.