Can Garnet listen on IPv4 and IPv6 at the same time ? #1141
davidglassborow
started this conversation in
General
Replies: 2 comments 2 replies
-
|
This PR #1083 will make it possible to specify multiple endpoints for the server to listen to. |
Beta Was this translation helpful? Give feedback.
2 replies
-
|
Just to update the discussion, Garnet now supports multiple endpoints. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Reading through the documentation, I assumed the default behaviour would be to listen to all interfaces v4 and v6.
However looking through the code, and running some tests, looks like by default it only listens to V4 any, and there doesn't appear to be any way to listen on both at the same time, is that correct ?
I tried writing a host that uses the garnet nuget, but the GarnetServerOptions object only seems to support a single Binding, and I don't see a version of IPEndPoint that specifies IPv4 and IPv6 at the same time.
https://github.com/microsoft/garnet/blob/main/libs/server/Servers/ServerOptions.cs#L20
Thanks for a great project !
Beta Was this translation helpful? Give feedback.
All reactions