mirror of
https://github.com/ipfs/kubo.git
synced 2026-02-26 04:47:45 +08:00
go-ipfs-config: Default config: listen on IPv6 for the swarm address
This commit is contained in:
parent
154216d34d
commit
ffacc10342
@ -39,6 +39,7 @@ func Init(out io.Writer, nBitsForKeypair int) (*Config, error) {
|
||||
Swarm: []string{
|
||||
"/ip4/0.0.0.0/tcp/4001",
|
||||
// "/ip4/0.0.0.0/udp/4002/utp", // disabled for now.
|
||||
"/ip6/::/tcp/4001",
|
||||
},
|
||||
API: "/ip4/127.0.0.1/tcp/5001",
|
||||
Gateway: "/ip4/127.0.0.1/tcp/8080",
|
||||
|
||||
Loading…
Reference in New Issue
Block a user