Can only control two ports, but server creates four. Also multiple instances on windows work with hack
server.properties only has fields for:
server-port
server-portv6
However, when bedrock server is run, four ports appear to be opened per server.
Additionally, this prevents multiple instances of bedrock_server.exe from being run on the same OS because IP's can't be properly deconflicted. If two instances are run (in their own folders with their own server.properties specifying unique IPv4 and IPv6 ports), only one instance will actually work.
The hack to make a second instance work (on windows) is to rename the bedrock_server.exe to something else such as bedrock_server_1.exe. Then multiple instances work ... sometimes.
This is probably a function of the Windows firewall not knowing which running instance of bedrock_server.exe to route inbound traffic to.
Environment
Windows 10 (running in VM in Hyper V on Windows Server 2019)
Linked Issues
Comments1
History4
Changed description:
server.properties only has fields for:
0server-port
0server-portv6
0However, when bedrock server is run, four ports appear to be opened per server.
0Additionally, this prevents multiple instances of bedrock_server.exe from being run on the same OS because IP's can't be properly deconflicted. If two instances are run (in their own folders with their own server.properties specifying unique IPv4 and IPv6 ports), only one instance will actually work.
0The hack to make a second instance work (on windows) is to rename the bedrock_server.exe to something else such as bedrock_server_1.exe. Then multiple instances work
This is probably a function of the Windows firewall not knowing which running instance of bedrock_server.exe to route inbound traffic to.
Added duplicates link: BDS-1094Additional IPv4 and IPv6 port opening upon starting serverFixed
Resolution: Unresolved → Duplicate
Thank you for your report!
We're tracking this issue in
BDS-1094, so this ticket is being resolved and linked as a duplicate.If you would like to add a vote and any extra information to the main ticket it would be appreciated.
If you haven't already, you might like to make use of the search feature to see if the issue has already been mentioned.
Quick Links:
📓 Bug Tracker Guidelines – 💬 Community Support – 📧 Mojang Support
📓 Project Summary – ✍️ Feedback and Suggestions – 📖 BDS Wiki – 📖 FAQs
– I am a bot. This action was performed automatically! The ticket was resolved by one of our moderators, and I left this message to give more information to you.