Thankfully, there's an alternative method. You can set up a Minecraft server for free with services like Minehut or Aternos. These services have their own computers that host the servers for you so you don't have to keep your computer on all the time. Here's how to set up a server ...
and play within over the Internet. These can be as basic as your default spawn location or as complex as one of thebest Minecraft modpacks. A simple Minecraft server loads the world data from its host’s existing device, and people can join that server using the host’s IP address. ...