Giter Site home page Giter Site logo

功能建议 about realm HOT 10 CLOSED

zhboner avatar zhboner commented on August 16, 2024
功能建议

from realm.

Comments (10)

zhboner avatar zhboner commented on August 16, 2024

收到了。这两项是下一步更新的地方

from realm.

zhboner avatar zhboner commented on August 16, 2024

配置文件和多端口的功能已经更新了 Realm v1.2-beta.1

from realm.

Lightmani avatar Lightmani commented on August 16, 2024

配置文件不支持多个地址吗?
我尝试这样写,无法运行

{
"listening_addresses": ["0.0.0.0"],
"listening_ports": ["1"],
"remote_addresses": ["3"],
"remote_ports": ["443"]
},
{
"listening_addresses": ["0.0.0.0"],
"listening_ports": ["2"],
"remote_addresses": ["1"],
"remote_ports": ["443"]
},
{
"listening_addresses": ["0.0.0.0"],
"listening_ports": ["1"],
"remote_addresses": ["1"],
"remote_ports": ["443"]
}

from realm.

zhboner avatar zhboner commented on August 16, 2024

你可以写成

{
"listening_addresses": ["0.0.0.0"],
"listening_ports": ["1", "2", "1"],
"remote_addresses": ["3", "1", "1"],
"remote_ports": ["443"]
}

from realm.

Lightmani avatar Lightmani commented on August 16, 2024

当我这么做后,程序报错

./realm -c config.json
thread 'main' panicked at 'Unmatched number of listening and remot ports', src/lib.rs:152:9
note: run with RUST_BACKTRACE=1 environment variable to display a backtrace

from realm.

Lightmani avatar Lightmani commented on August 16, 2024

解决了,remote port需要同样数量

from realm.

zhboner avatar zhboner commented on August 16, 2024

发布的是旧版本,稍后我上传一个新版

from realm.

zhboner avatar zhboner commented on August 16, 2024

Realm v1.2-beta.2

from realm.

Lightmani avatar Lightmani commented on August 16, 2024

新版似乎有些问题
启动后没有任何报错,但是无法中转

配置如这样写的
{
"listening_addresses": ["0.0.0.0"],
"listening_ports": ["1", "2", "1"],
"remote_addresses": ["3", "1", "1"],
"remote_ports": ["443"]
}

from realm.

zhboner avatar zhboner commented on August 16, 2024

这是一个bug,已经修复。

from realm.

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.