willemmulder / Diont

Easy Service Discovery on Local Networks in 100% pure Javascript / Typescript
43 stars 6 forks source link

Not working in AWS VPC #4

Closed khuongduybui closed 6 years ago

khuongduybui commented 8 years ago

Hello, it's me again :D

This time I'm trying an all-virtual setup in AWS where I have a VPC with:

When I run listeners_broadcast, server_1, and server_3 on both instances, each listener only detects servers on its own instance. The detected host IP (when unspecified, as in server_3) is indeed the 10.0.0.0/32 IP though, not 127.0.0.1.

willemmulder commented 8 years ago

I must admit I've never done anything with virtual networks :-) Could you give me the service JSONs that you put into the various diont.announceService(service); ?

khuongduybui commented 8 years ago

The exact code in your examples folder. The only change I make is require('../diont') => require('diont')

willemmulder commented 8 years ago

I know this is long ago... And sorry I didn't manage to help. Did you get it working by any chance?

khuongduybui commented 6 years ago

Nope.

khuongduybui commented 6 years ago

AWS doesn't support multicast or broadcast protocols. Closing this issue.

(See: https://aws.amazon.com/vpc/faqs/#Routing_and_Topology)

willemmulder commented 6 years ago

Thanks for coming back on this! 👍

Too bad AWS doesn't support it. Hope you got what you want using some other method/workaround?