To play with friends, you need an empyrion multiplayer server, which you can rent or buy via a special hosting provider.