This question already has an answer here:

Can anybody help me with this? I have some friends that are NOT local so a LAN world would not be able to reach them, so how would i do this i don't want to make a world wide server that anybody can join. I live in the northern part of the united state's, one of my friends lives in California and one lives in Australia. So how would i go about making a server that BOTH of them would be able to reach?!

marked as duplicate by user106385, Keaanu, ModDL, Frank, GodEmperorDune May 1 '16 at 3:42

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

  • Suggestion: Go search up hosting lan over hamachi – ModDL May 1 '16 at 2:32

You could make a whitelisted server.

You set up a server normally, but set white-list=true in your server.properties, then add only your friends' (and your own) usernames to the whitelist.

Only share the IP directly with your friends, don't post it on a website - people who aren't on the whitelist can't join anyway, but there's no reason to even let them try.

Downside: Every time a new player wants to join, you'll have to manually add them to the list of allowed players.

Upside: That means no one can ever join the server without your explicit permission.

  • I think they need help more with the setting up a server part that the making it whitelisted part... – user91193 May 1 '16 at 0:24
  • The "...i don't want to make a world wide server that anybody can join." part of their question leads me to believe they know how to do that. If they do that, then turn on the whitelist, it does what they want. If they need more help, I'm 99% sure "how do I make a server?" is already on Arqade somewhere... – gatherer818 May 1 '16 at 0:29

Not the answer you're looking for? Browse other questions tagged or ask your own question.