mojira.dev
BDS-1094

Additional IPv4 and IPv6 port opening upon starting server

Upon starting my server, additional and unspecified IPv4 and IPv6 ports were opened. I have specified and forwarded the default IPv6 port and a chosen IPv4 port. Two additional ports opened; one being default IPv4, but the IPv6 was chosen at random.

Linked issues

Attachments

Comments 76

[media][media][media][media]
[media][media][media][media]

I have the same problem

I have the same problem

I have the same problem

66 more comments

This still affect 1.18.12.01

Can we have an ETA on this old but blocking port issue ?

[2022-03-12 09:49:26:096 INFO] Starting Server
[2022-03-12 09:49:26:096 INFO] Version 1.18.12.01
...
[2022-03-12 09:49:27:642 INFO] IPv4 supported, port: 19134
[2022-03-12 09:49:27:642 INFO] IPv6 not supported
[2022-03-12 09:49:27:927 INFO] Server started.
[2022-03-12 09:49:27:944 INFO] IPv4 supported, port: 19132
[2022-03-12 09:49:27:944 INFO] IPv6 not supported

This still affect 1.18.12.01

Can we have an ETA on this old but blocking port issue ?

[2022-03-12 09:49:26:096 INFO] Starting Server
[2022-03-12 09:49:26:096 INFO] Version 1.18.12.01
...
[2022-03-12 09:49:27:642 INFO] IPv4 supported, port: 19134
[2022-03-12 09:49:27:642 INFO] IPv6 not supported
[2022-03-12 09:49:27:927 INFO] Server started.
[2022-03-12 09:49:27:944 INFO] IPv4 supported, port: 19132
[2022-03-12 09:49:27:944 INFO] IPv6 not supported

it appears preview 1.19.50 has code intended to resolve this issue by allowing the disabling of LAN Discovery for server instances:

  • Added server property 'enable-lan-visibility' to disable the explicit LAN discovery by clients. This will prevent unexpected port conflicts when running multiple dedicated servers on a single host. Clarified port use in server logs and made error messaging more clear (BDS-1094)

What's curious is that there is a new BDS server log message in 1.19.40.02 related to this feature, but the flag doesn't work in that release:

[2022-10-29 00:01:04:304 INFO] Server started.
[2022-10-29 00:01:04:537 INFO] Please note that LAN discovery will not function for this server.
[2022-10-29 00:01:04:537 INFO] Server IP must be specified in Servers tab in game. 

it appears preview 1.19.50 has code intended to resolve this issue by allowing the disabling of LAN Discovery for server instances:

  • Added server property 'enable-lan-visibility' to disable the explicit LAN discovery by clients. This will prevent unexpected port conflicts when running multiple dedicated servers on a single host. Clarified port use in server logs and made error messaging more clear (BDS-1094)

What's curious is that there is a new BDS server log message in 1.19.40.02 related to this feature, but the flag doesn't work in that release:

[2022-10-29 00:01:04:304 INFO] Server started.
[2022-10-29 00:01:04:537 INFO] Please note that LAN discovery will not function for this server.
[2022-10-29 00:01:04:537 INFO] Server IP must be specified in Servers tab in game. 

it appears preview 1.19.50 has code intended to resolve this issue by allowing the disabling of LAN Discovery for server instances:

  • Added server property 'enable-lan-visibility' to disable the explicit LAN discovery by clients. This will prevent unexpected port conflicts when running multiple dedicated servers on a single host. Clarified port use in server logs and made error messaging more clear (BDS-1094)

What's curious is that there is a new BDS server log message in 1.19.40.02 related to this feature, but the flag doesn't work in that release:

[2022-10-29 00:01:04:304 INFO] Server started.
[2022-10-29 00:01:04:537 INFO] Please note that LAN discovery will not function for this server.
[2022-10-29 00:01:04:537 INFO] Server IP must be specified in Servers tab in game. 

migrated

(Unassigned)

Community Consensus

Retrieved