Giter Site home page Giter Site logo

vnts's Issues

启动参数可以详细说说下怎么用吗?

Options:
      --port <PORT>                指定端口
      --white-token <WHITE_TOKEN>  token白名单,例如 --white-token 1234 --white-token 123
      --gateway <GATEWAY>          网关,例如 --gateway 10.10.0.1
      --netmask <NETMASK>          子网掩码,例如 --netmask 255.255.255.0
  -h, --help                       Print help

port是监听端口,客户端连接用的,这个都知道
white-token是做什么用的,如果我不配置,那是不是客户端用任何token都连不上这个服务端?
gateway 和 netmask 配置是用来起什么作用的?

怎么查询tonken值

请问服务端自动生成的token值,在程序运行之后怎么再次查询生成的token值?

只能监听在ipv4上吗?

vnts只监听在0.0.0.0上,没有监听ipv6,这样客户端没办法通过ipv6公网地址连接服务端。

{ code: 22, kind: InvalidInput, messag e: "Invalid argument" }

日志一直在打印
2023-12-26T09:53:45.328542162+08:00 [src/service/main_service/tcp_service.rs:26] WARN vnts::service::main_service::tcp_service:tcp accept err:Os { code: 22, kind: InvalidInput, messag
e: "Invalid argument" }

也不知道是哪里的配置有问题。

另外是否可以不生成log目录及日志, 或者加个参数禁止生成吧。

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.