When in freemode or in multiplayer, in chat type /jo roomname
replace the words roomname with what you want the room to be called, and you are in your own server, and your friend can do the same command to join you. But, don't try to join official servers as it does not work.