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
Ideally the parent service config can pass down an override for the IPv4 vs IPv6 binding with a default to IPv6.
I can push the PR, but I am not sure if we want to offer another function to avoid a breaking change in the interface.
Confirmed, and very weird. Go listens on IPv6 given net.Listen("tcp", "0.0.0.0:0").
We can't change any interfaces.
On my machine, net.Listen("tcp", "127.0.0.1:0") binds a IPv4 address. So the problem is probably only acute if you want to listen on all IPv4 addresses (which is not currently possible)?
We could add a special case just for "0.0.0.0" and force IPv4 in that case. WDYT?
Preflight checklist
Ory Network Project
No response
Describe your problem
Golang by default binds to IPv6, which doesn't work for everybody.
It would be nice if we could specify
tcp4
for:x/networkx/listener.go
Line 30 in 6511eb1
Describe your ideal solution
Ideally the parent service config can pass down an override for the IPv4 vs IPv6 binding with a default to IPv6.
I can push the PR, but I am not sure if we want to offer another function to avoid a breaking change in the interface.
Workarounds or alternatives
There is none right now.
Version
Kratos 1.1.0
Additional Context
No response
The text was updated successfully, but these errors were encountered: