Просмотр исходного кода

Update example config to listen on `::` by default (#1351)

Caleb Jasik 6 месяцев назад
Родитель
Сommit
50473bd2a8
1 измененных файлов с 2 добавлено и 2 удалено
  1. 2 2
      examples/config.yml

+ 2 - 2
examples/config.yml

@@ -126,8 +126,8 @@ lighthouse:
 # Port Nebula will be listening on. The default here is 4242. For a lighthouse node, the port should be defined,
 # Port Nebula will be listening on. The default here is 4242. For a lighthouse node, the port should be defined,
 # however using port 0 will dynamically assign a port and is recommended for roaming nodes.
 # however using port 0 will dynamically assign a port and is recommended for roaming nodes.
 listen:
 listen:
-  # To listen on both any ipv4 and ipv6 use "::"
-  host: 0.0.0.0
+  # To listen on only ipv4, use "0.0.0.0"
+  host: "::"
   port: 4242
   port: 4242
   # Sets the max number of packets to pull from the kernel for each syscall (under systems that support recvmmsg)
   # Sets the max number of packets to pull from the kernel for each syscall (under systems that support recvmmsg)
   # default is 64, does not support reload
   # default is 64, does not support reload