simple-http-server icon indicating copy to clipboard operation
simple-http-server copied to clipboard

[Feature Request] Add support for IPv4 and IPv6 simultaneously

Open StShAzzy opened this issue 1 year ago • 2 comments

this would be a nice addition, auto detected an IPv6 address or ask for it with a flag to enable IPv6 and IPv4

StShAzzy avatar Jan 20 '24 02:01 StShAzzy

theoretically you can use --ip :: option if net.ipv6.bindv6only = 0 in your sysctl.conf but it's always nice to setsockopt() corresponding option to bind ipv6 only per app basis.

yoshyv avatar Mar 05 '24 04:03 yoshyv

theoretically you can use --ip :: option if net.ipv6.bindv6only = 0 in your sysctl.conf but it's always nice to setsockopt() corresponding option to bind ipv6 only per app basis.

that would only start the IPv6, i mean responding HTTP requests over IPv4 and IPv6 if both are avaliable and enabled

StShAzzy avatar Mar 22 '24 17:03 StShAzzy