-
Notifications
You must be signed in to change notification settings - Fork 145
chat with mdns does not work on the internet #64
Comments
@bnsh12 any tip from you would be appreciated. |
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. |
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 |
DHT should work. Which example are you using and what is your setup? |
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 |
@jeshocarmel can you try this example and use |
I'm trying to use chat-with-mdns with two instances in AWS. The default host 0.0.0.0 is applied and same ports used on both the instances. The ports are open to the public internet (verified) but the two don't seem to identify each other.
Am I missing something? Or this mdns discovery only works for local router setup only?
The text was updated successfully, but these errors were encountered: