GithubHelp home page GithubHelp logo

Comments (10)

layui0320 avatar layui0320 commented on June 27, 2024

服务器配置:

[common]
bind_addr = 0.0.0.0
bind_port = 2333
kcp_bind_port = 2333
dashboard_port = 8233
dashboard_user = admin
dashboard_pwd = admin
vhost_http_port = 8880
vhost_https_port = 8443
# log_file = ./frps.log
token = 2020
bind_udp_port = 7001
# 以下项目无需修改
max_pool_count = 50
tcp_mux = true
authentication_timeout = 0
log_level = debug
log_max_days = 3
# 是否启用 Api 功能
api_enable = true
# Api 服务器地址
api_baseurl = http://example.com.com/api/
api_token = SakuraFrpToken

客户端配置:

[common]
server_addr = 61.140.xxx.xxx
server_port = 2333
tcp_mux = true
protocol = tcp
user = 4827900f6400c2e1
token = 2020
dns_server = 223.6.6.6
 
[test1]
privilege_mode = true
type = tcp
local_ip = 127.0.0.1
local_port = 3389
remote_port = 18320
use_encryption = false
use_compression = false

在网站的流量统计能显示到服务器:
TIM截图20200623192644

from sakurapanel.

CN-YoungYang avatar CN-YoungYang commented on June 27, 2024

你好,你这个问题是怎么解决的。

from sakurapanel.

layui0320 avatar layui0320 commented on June 27, 2024

你好,你这个问题是怎么解决的。

配置文件的api文件没有修改。。。

from sakurapanel.

layui0320 avatar layui0320 commented on June 27, 2024

你好,你这个问题是怎么解决的。

原因在这里:

# 是否启用 Api 功能
api_enable = true
# Api 服务器地址
api_baseurl = http://example.com.com/api/
api_token = SakuraFrpToken

api域名没有更改,改了实际地址就行了

from sakurapanel.

CN-YoungYang avatar CN-YoungYang commented on June 27, 2024

哦哦,这个地址 就改成我 域名的地址吧, api_baseurl = http://XXXXX.com/api/

from sakurapanel.

layui0320 avatar layui0320 commented on June 27, 2024

哦哦,这个地址 就改成我 域名的地址吧, api_baseurl = http://XXXXX.com/api/

你试试,因为时间有点久了,我当时部署成功后就没用了。。。如果可以就反馈下,以便后面的人排错

from sakurapanel.

CN-YoungYang avatar CN-YoungYang commented on June 27, 2024

嗯,好的。我去试试

from sakurapanel.

CN-YoungYang avatar CN-YoungYang commented on June 27, 2024

上述方法,有用。 invalid character '<' looking for beginning of value 这个报错解决了

from sakurapanel.

layui0320 avatar layui0320 commented on June 27, 2024

上述方法,有用。 invalid character '<' looking for beginning of value 这个报错解决了

总的来说,还是粗心才出现的问题,哈哈哈

from sakurapanel.

CN-YoungYang avatar CN-YoungYang commented on June 27, 2024

继续对参数,现在是 API问题。囧。

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.