You need the Steam version of Raft. The prototype/demo available here is single player only. You need to be Steam Friends with the host and host has to make sure that they've chosen "friends can join" (default option) when setting up the game. If you have no friends who own Raft, you can look for people to play with on Raft Forums on Steam or Raft Discord.