Giter Site home page Giter Site logo

Comments (7)

OldGodShen avatar OldGodShen commented on August 17, 2024

你节点的防火墙配置了吗

from sakurapanel.

cingjp avatar cingjp commented on August 17, 2024

节点防火墙应该是没启动的,检测的端口好像2333这些都是通的,还是说需要额外的配置?

from sakurapanel.

cingjp avatar cingjp commented on August 17, 2024

我是配置好网页的三个文件,其中api/index.php 那个是
define("API_TOKEN", "这里填了APItoken");

然后节点启动是用这个命令:
./frps -c frps.ini

启动后的运行日志:
`2022/01/16 10:05:16 [I] [service.go:149] frps tcp listen on 0.0.0.0:2333

2022/01/16 10:05:16 [I] [service.go:158] frps kcp listen on udp 0.0.0.0:2333

2022/01/16 10:05:16 [I] [service.go:191] http service listen on 0.0.0.0:81

2022/01/16 10:05:16 [I] [service.go:212] https service listen on 0.0.0.0:82

2022/01/16 10:05:16 [I] [service.go:231] nat hole udp service listen on 0.0.0.0:7001

2022/01/16 10:05:16 [I] [service.go:242] Dashboard listen on 0.0.0.0:8288

2022/01/16 10:05:16 [I] [root.go:204] Start frps success

2022/01/16 10:23:17 [I] [dashboard_api.go:65] Http request: [/api/serverinfo]

2022/01/16 10:23:17 [I] [dashboard_api.go:58] Http response [/api/serverinfo]: code [200]`

发现面板删除后,节点能接收到,报404:
`2022/01/16 10:45:18 [I] [dashboard_api.go:341] Http request: [/api/client/close/{user}] "eeecb85105149064"

2022/01/16 10:45:18 [I] [dashboard_api.go:339] Http response [/api/client/close/{user}]: code [404]
`

但是添加穿透依然没有任何反映。

from sakurapanel.

OldGodShen avatar OldGodShen commented on August 17, 2024

frps.ini里面配置了apitoken吗?
节点是否能访问主站的api
api后面的节点id是否正确?

from sakurapanel.

cingjp avatar cingjp commented on August 17, 2024

配置了的,这是frps.ini:

#是否启用 Api 功能
api_enable = true

#Api 服务器地址
api_baseurl = https://www.网址.cn/api/

#Api 密码(节点 ID 在面板上添加的时候可以看到)
api_token = token|2

能够访问api的,id也正确。

删除穿透能接受到并报错404,那应该api没问题的吧?主要不知道为什么添加不能发送到节点。。

from sakurapanel.

OldGodShen avatar OldGodShen commented on August 17, 2024

是否能把frpc的报错信息发出来看看

from sakurapanel.

aisyun avatar aisyun commented on August 17, 2024

有解决的吗?能不能给个解决方法

from sakurapanel.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.