Minecraft Bedrock Edition runs on consoles too, but manufacturers have restricted 3rd party multiplayer capabilities for (very questionable) legal reasons. You will need to bypass the restrictions and then connect to this IP:
bedrock.peacefulvanilla.club
Bypass restrictions on Xbox One
Bypass restrictions on Nintendo Switch
Bypass restrictions on PS4 using an IOS device
Bypass restrictions on PS4 using an Android device