mirror of
https://github.com/DeBrosOfficial/network.git
synced 2025-10-06 06:39:07 +00:00
Remove QUIC listen addresses and set TCP port to 4001
This commit is contained in:
parent
7818c6a04e
commit
c0dee632a8
@ -3,7 +3,6 @@ node:
|
||||
type: "bootstrap"
|
||||
listen_addresses:
|
||||
- "/ip4/0.0.0.0/tcp/4001"
|
||||
- "/ip4/0.0.0.0/udp/4001/quic"
|
||||
data_dir: "./data/bootstrap"
|
||||
max_connections: 100
|
||||
is_bootstrap: true
|
||||
|
@ -2,8 +2,7 @@ node:
|
||||
id: "" # Auto-generated
|
||||
type: "node"
|
||||
listen_addresses:
|
||||
- "/ip4/0.0.0.0/tcp/0" # Random port
|
||||
- "/ip4/0.0.0.0/udp/0/quic" # Random port
|
||||
- "/ip4/0.0.0.0/tcp/4001" # Random port
|
||||
data_dir: "./data/node"
|
||||
max_connections: 50
|
||||
is_bootstrap: false
|
||||
|
@ -93,7 +93,7 @@ func DefaultConfig() *Config {
|
||||
Node: NodeConfig{
|
||||
Type: "node",
|
||||
ListenAddresses: []string{
|
||||
"/ip4/0.0.0.0/tcp/0", // TCP only - compatible with Anyone proxy/SOCKS5
|
||||
"/ip4/0.0.0.0/tcp/4001", // TCP only - compatible with Anyone proxy/SOCKS5
|
||||
},
|
||||
DataDir: "./data",
|
||||
MaxConnections: 50,
|
||||
|
Loading…
x
Reference in New Issue
Block a user