Giter Club home page Giter Club logo

Comments (7)

cheatfate avatar cheatfate commented on June 10, 2024

This is libp2p known issue and probably limitation.

from nimbus-eth2.

jakubgs avatar jakubgs commented on June 10, 2024

What do you mean by "limitation"? I'd assume that If it works for discovery it can be made to work for the p2p address.

from nimbus-eth2.

cheatfate avatar cheatfate commented on June 10, 2024

Usually developers prefer to use 0.0.0.0 which forces OS to bound server to all available interfaces. But this comes with limitation that when you will request local address of bound socket you will receive 0.0.0.0:<some port> instead of real interface address. To get this addresses you need to enumerate all the interfaces and bound to their IP addresses manually. But there is no such functionality in nim-libp2p yet, so REST server reports what nim-libp2p provides to it.
And to note that that provided multiaddresses are 100% correct, but i agree this addresses are unusable...

from nimbus-eth2.

cheatfate avatar cheatfate commented on June 10, 2024

By word "limitation" i mean that nim-libp2p developers do not implemented this functionality yet and i have not seen such functionality in plans.

from nimbus-eth2.

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.