This is the simplest way of playing online games, and works well for in- home games. You can start Terraria by selecting "Multiplayer" in the main menu. Select a world to play in, then enter a password, or leave blank if you would prefer no password.