I am hosting a server for bedrock on my local network, that is being port forwarded so my friends can join. When I tried to join my sister over Xbox Live, who was on the same network as me, Minecraft connected to my local server and not my sister's world. This is a huge problem and I do not understand how this could happen. I verified that I was selecting her world and not the server. She was not on the server. She was in a singleplayer world on her device. I then shut down the server and tried to join her world and it just said unable to connect. This also happened on my iOS device. I restarted both my pc and the phone, but that did not fix it. Maybe it is because my server is able to be connected to using my routers external IP adress?
Steps to reproduce:
Start a bedrock dedicated server on windows, and portforward the 19132 port.
Get two Xbox live accounts and start one of them in a singleplayer world.
add the server to your server list and verify you can connect
try to connect to the singleplayer world using the FRIENDS tab over Xbox Live
it will(it did for me) put you into the server and not the Xbox live world.