Please enable passing socket options
Opened this issue · 0 comments
c4milo commented
It is a bit annoying to work with memberlist since it doesn't set SO_REUSEPORT
and SO_REUSEADDR
. I have to change my ports every time I take down my service.
$ ./build/stitchd -c cmd/stitchd/stitchd.example.cfg
2021-07-22T13:09:59.444-0400 [DEBUG] stitchd/main.go:79: starting service... : address=127.0.0.1:7778
2021/07/22 13:09:59 [DEBUG] memberlist: Got bind error: Failed to start UDP listener on "0.0.0.0" port 5112: listen udp 0.0.0.0:5112: bind: address already in use