When a server is the better fit

If your group regularly plays all at once, and one of you enjoys running a server, a dedicated server is a fine choice. Terraria and Valheim both ship one for free.

When Sleepingbag is the better fit

Most groups don’t play at the same time. One friend plays Tuesday night, another on Saturday morning. With Sleepingbag, whoever plays presses Play, hosts the newest copy on their own computer, and the world goes back to the group when they’re done. Friends can still join whoever is hosting, as usual. Nobody has to keep a computer on, and there’s nothing to patch.