GithubHelp home page GithubHelp logo

Comments (6)

jeshocarmel avatar jeshocarmel commented on July 3, 2024

@bnsh12 any tip from you would be appreciated.

from go-libp2p-examples.

bineeshlazar avatar bineeshlazar commented on July 3, 2024

AFAIK we cannot use multicast in public internet. You might have to use DHT to find nodes in this scenario.

You can try private networking options like VPC to create a subnet in cloud, but I am not sure multicast will work there either.

from go-libp2p-examples.

jeshocarmel avatar jeshocarmel commented on July 3, 2024

Thanks for the info. I'm now using DHT to discover peers but that too is not working in the AWS public internet as the private IPs are the one being sent in MultiAddr[]

I think the only option is to create a VPC and do this

from go-libp2p-examples.

upperwal avatar upperwal commented on July 3, 2024

@jeshocarmel

Thanks for the info. I'm now using DHT to discover peers but that too is not working in the AWS public internet as the private IPs are the one being sent in MultiAddr[]

DHT should work. Which example are you using and what is your setup?

from go-libp2p-examples.

jeshocarmel avatar jeshocarmel commented on July 3, 2024

I have a simple-bootstrap-node and two instances on AWS which are not connected locally. These two instances are able to connect to the bootstrap server individually but are not able to discover each other

from go-libp2p-examples.

upperwal avatar upperwal commented on July 3, 2024

@jeshocarmel can you try this example and use peer argument to pass the multiaddr of your bootstrap node.

from go-libp2p-examples.

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.