You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Am I right that running aquatic_ws currently requires two separate configuration files if we want it to bind to both IPv4 and IPv6? That's not convenient, in my opinion.
It's also confusing: if configuration file can only support IPv4 or IPv6 exclusively, then what's the point of only_ipv6 flag? It gives a false hope that turning this flag off will be enough to avoid creating two separate configuration files in this case.
I suppose it's especially confusing to those who aren't willing to read the code or to those who aren't Rust experts who are not aware that SocketAddr can't accept both IPv4 and IPv6 and the same time.
It would be nice if we could have a single configuration file in this case and
either run a single instance that binds to both IPv4 and IPv6
addresses = ["127.0.0.1:3000", "[::1]:3000"] in config
or at least two separate instances with --address 127.0.0.1:3000 and --address [::1]:3000 as arguments.
The text was updated successfully, but these errors were encountered:
The UDP and HTTP versions support running both ipv4+ipv6 if you define your address as address = "[::0.0.0.0]:port" I haven't used the WS version but did you try this?
Thanks for making this awesome software!
Am I right that running
aquatic_ws
currently requires two separate configuration files if we want it to bind to both IPv4 and IPv6? That's not convenient, in my opinion.It's also confusing: if configuration file can only support IPv4 or IPv6 exclusively, then what's the point of
only_ipv6
flag? It gives a false hope that turning this flag off will be enough to avoid creating two separate configuration files in this case.I suppose it's especially confusing to those who aren't willing to read the code or to those who aren't Rust experts who are not aware that
SocketAddr
can't accept both IPv4 and IPv6 and the same time.It would be nice if we could have a single configuration file in this case and
addresses = ["127.0.0.1:3000", "[::1]:3000"]
in config--address 127.0.0.1:3000
and--address [::1]:3000
as arguments.The text was updated successfully, but these errors were encountered: