Hi Michael, On Thu, Mar 20, 2025 at 02:58:34PM +0000, Trapp, Michael wrote: > > Am 19.03.2025 um 13:35 schrieb Mark Wielaard <m...@klomp.org>: > > The code itself does look ok, although I think it could be simplified a > > little if we go for something like --listen-local only (assuming that > > makes sense). > > In summary, I would use the generic option, as you’ve suggested with, > '—-listen-address=_IPv4/IPv6_ADDRESS_’ because it covers all possible > addresses. > The more restrictive option for localhost addresses could be > '—-listen-local4’ to bind to 127.0.0.1 or '—-listen-local6’ for a bind to ::1. > What do you think about that?
I think you thought this through a lot deeper than I did. So lets go with the generic --listen-address=_IPv4/IPv6_ADDRESS_ variant. Could you sent a version of the patch with just that name change from --http-addr to --listen-address? Thanks, Mark