Are you looking to make a dedicated server or when you are on you want to allow others to join with you. Simplest way is if you are playing single player simply hit escape and click "Open to LAN". This is limited to others only being able to play on the server when you are playing though. For a dedicated server there are many options.