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:
|
return net.Listen("tcp", address) |
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.
func MakeListener(network string, address string, socketPermission *configx.UnixPermission) (net.Listener, error)
Workarounds or alternatives
There is none right now.
Version
Kratos 1.1.0
Additional Context
No response
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
tcp4for: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