Open
Description
Currently, our configuration takes one ipv4 address to listen on, and 3 ports to listen on the same ipv4 addresses.
We should:
- Not take one ipv4 address, but any type of ip address — why no ipv6?
- Allow listening the admin interface on a different network interface than the public-facing interfaces — this means not having the same IP address as the public interfaces
- Not have that weird thing in tests where we take next_available_addr but then ignore 3/4 of the results — one ip address is completely ignored, and if an ipv6 address is returned then we also ignore it
To do that, the solution I'm suggesting is to, instead of host/port, just take SocketAddr::from_str
of a string in the config, for each port. This would give us one SocketAddr config for each of them, and we could easily use the return of next_available_addr there.
Metadata
Metadata
Assignees
Labels
No labels