On Windows the server with address 0.0.0.0 and port 25565, which are defined in config.toml, automatically binds to the socket with address [::]:25565, but on Linux with the same configuration, the server binds to 0.0.0.0:25565. If we change in config.toml address to [::], we get a parse error. This makes it possible to connect to the server using only the IPv4 address.
Description
On Windows the server with address
0.0.0.0
and port25565
, which are defined inconfig.toml
, automatically binds to the socket with address[::]:25565
, but on Linux with the same configuration, the server binds to0.0.0.0:25565
. If we change inconfig.toml
address to[::]
, we get a parse error. This makes it possible to connect to the server using only the IPv4 address.