Alternatively, you can host a Minecraft server for free using your own computer. You can do this for all versions of Minecraft. Be aware that the setup process is pretty complicated and it does use a lot of RAM and internet bandwidth in addition to the resources needed to play the game and run your computer's operating system.
Minehut.com is one of many Minecraft server hosting services. It's easy to use and one of the few services that allow you to host Minecraft servers for free. Minehut allows you to host 2 Minecraft servers with up to 10 players for free. You can purchase credits if you want to allow more than 10 players or make more than 2 servers.
Minehut servers only work for Minecraft: Java Edition. If you want to create a server for Minecraft: Windows 10/mobile/game consoles, you can do so using Realms or Aternos or you can host your own Minecraft server on your computer. You can download the server software for Minecraft: Bedrock Edition from. If you already have a Minehut account, click Log In in the upper-right corner and sign in with the email address and password associated with your Minehut account to access your Dashboard.