• • 8/22/16 1:54 am
- 354 views • 0 today
- 0 server score
- 0 Votes this month
1
| Status | Offline Pinged: 01/20/26 |
| Location | United States |
| Game Version | Minecraft Java |
| MOTD | |
| Connect With | |
| Players | 0/15 |
| RID | 3786468 |
Pure Vanilla is exactly what is sounds like! A 100% pure vanilla server! We utilize command blocks and vanilla commands to provide an authentically vanilla, yet bukkit feeling experience. Thank you!
Configure and connect
Now it is time to configure and connect.
Setting up a VPN
The contents of this section are not supported by Mojang AB, the Minecraft Wiki, the Minecraft IRC channel or the Minecraft Forums.
An alternate way to set up a server between you and your friends is to set up a VPN (virtual private network). This method may be deemed unrecommended, and an inconvenience for many users due to the fact that all users whom wish to connect to the server must download external software in order to join or create server. An alternative to this method is to port forward. Free software utilities that can be used to set up a VPN are Hamachi by LogMeIn and Evolve by Echobit (Hamachi supports Windows, Mac OS X, and Linux, but Evolve currently only supports Windows). OpenVPN is another (free, open source) alternative that supports most OSes, but is a bit more difficult to configure. The free version of Hamachi allows up to 5 connections (i.e. players), while the free version of Evolve allows an unlimited number of connections.
Setting up Hamachi
Install Hamachi on each computer that wishes to participate in the server, including the host.
Windows / Mac
Linux (32-bit and 64-bit .deb and .rpm packages are available, you can install it on Gentoo by emerging "net-misc/logmein-hamachi")
The host server signs up for admin via the Logmein website.
On the host machine, a new Hamachi network is created.
The host installs and configures the Minecraft server software:
The server IP field in server.properties is left blank (as default).
The host passes the newly created Hamachi network credentials to each of the players.
The players connect to the host's Hamachi network.
Now that all the machines are connected within the same Hamachi network, the host gives their machine's Hamachi IPv4 address to the players.
Each player connects using this IP as per the usual Minecraft multiplayer screen.
Setting up Evolve
Install Evolve on each computer that wishes to participate in the server, including the host.
Windows
Each computer participating must create an account on Evolve's website, whether they host the server or not.
On the host machine, a new Evolve party is created. This can be done after logging in by opening the Friends window, clicking the red "Friends" tab, and clicking "Create Party..."
The host installs and configures the Minecraft server software:
The server IP field in server.properties is left blank (as default).
The host adds each participating computer as a friend (Friends window > "Add Friend..." > enter the nickname of each computer, which was created in step 2) and then adds them in the party (double-click the party > "Send Party Invite" > enter the nickname of each friended computer. You must add them as a friend first, or they will not be added).
The players connect to the host's Evolve party.
Now that all the machines are connected within the same Evolve party, each player connects using the host's Evolve IP address (10.xxx.xxx.2, shown next to their name on the sidebar of the party) as per the usual Minecraft multiplayer screen.
Evolve also doubles as a LAN bridger, so any singleplayer worlds opened to LAN can be accessed just as any other LAN server: at the bottom of the Multiplayer screen.
The only advantage of being the party creator is that you can kick and ban players from your party. Any player in the party can host a Minecraft server.
You can get help with setting up a party from the Evolve group chat room.
Configuring the Minecraft server
Configure the server by editing the server.properties file, the format for which is explained here. Be certain to edit the file with a text editor that does not add formatting (e.g., for italics), such as Windows 7's Notepad. Additional configuration may not be necessary as many servers run fine from the default values.
To become or add an operator ("op"), type "/op <username>" into the server console or gui. This adds the specified user's username and UUID to the ops.json file. Operator status will not be changed if you chnage your username due to the use of UUID.
Administrators and operators may execute commands. In other words, operator ("op") privileges allow you to control certain aspects of the game (e.g., teleporting players).
If your server.properties is configured to enable whitelist, you can add a user to the whitelist.json by typing "/whitelist add <username>" into the server console or gui. Due to the transition to the UUID system, it is not recommended to directly edit whitelist.json.
Connect to the Minecraft server
If you are playing on the same machine on which the server is running, select the "Multiplayer" option in the game client, click direct connect, and then type in "localhost" instead of an IP address.
Both hosting and playing on the same machine is not a recommended practice unless you have a powerful computer (e.g. more than 6 gigabytes of ram (5 for the server, 1 for the client, and remainder for system).
Users within your local network (i.e. that are accessing the same router) can connect using your internal IP address - port forwarding is not required for such local connections. The internal IP address of a specific network adapter can be found by typing "ipconfig" into command prompt and looking for the ipv4 address.
People connecting from the Internet (i.e., outside of your local network) must connect using your external IP address. You must port forward for someone outside your network to connect to the server.
IP address notes
Unless you set a static IP for the computer that is hosting the game, the internal IP address can change. This affects port forwarding rules, and can make them invalid. Each modem or router has a different way of setting a static IP address. You should refer to the manual for your device(s) or online documentation for further instruction.
If you are having players connect to your external IP, your external IP can change if you do not have a static IP from your internet service provider. Use a tool such as MyWANIP to periodically check on the external IP address. You may also search "my ip address" on Google and it will show your IP address. Alternatively, you can look into a DNS service that will allow you to have a name, rather than an IP address, that will remain the same. The name will point to your external IP address, regardless of whether or not it changes (the DNS is updated when changes occur).
For troubleshooting purposes you can try running Minecraft on the server machine and connect locally. You can connect trough either localhost, your home network IP (192.168.x.x) or your public (Internet) IP.
If for some reason you have trouble with connecting publicly over your IPv4, try connecting over IPv6. This should only be done for testing whether your server is online, external players should still use IPv4.
Firewalling, NATs and external IP addresses
You must open the TCP port (default is 25565) on the firewall.
If the server in question is not reachable via a globally routable IP address, you will need to add appropriate address and/or port number translation rules to the gateway — usually your router has the global IP address.
For help with address translation, opening the firewall and routing (these three make up what people call port mapping/forwarding), portforward.com is a good source. Select your router from that list, skip the ad that comes after selecting the device, and you will see instructions for setting up port forwarding. Alternatively, you can read the documentation supplied with your router, modem, or other ISP related hardware.
Verify the port is open, and note your external IP by using a port checker tool, such as You Get Signal. The default port you should test is 25565, unless you specified something else. Have the Minecraft server running when you test the port.
You can obtain your external IP address from YouGetSignal.
Local network dedicated servers
This only applies to Classic (v0.30) servers.
A common problem for server administrators is the inability to connect to your own server via another machine on your local network. A typical scenario for this is that you have a Classic server running on a dedicated machine, and you have your own machine which you play on. They're both connected to the same router/switch, and have internal IP's with the octets '192.168.x.x'. Normally, connecting via the URL generated for your server will result in an error message claiming that the server is offline.
To correct this, you must add a function to the end of your URL, bookmarks, or whatever else you connect by. The function is: ?override=true
Example: www.minecraft.net/classic/play/4c3bebb1a01816acbe31c5ece1570da5?override=true
Previously, (before the 1.8 beta and website update) this was &override=true. This caused much confusion since the change was not announced by Mojang, and wasn't announced on the website applet pages either. Before the update, connecting to your own URL via the website resulted in red text under the applet window saying "If you can't connect, try this link instead." The link returned the same thing, with the &override=true affixed to the end.
Note: This situation does not effect Beta servers, and you should be able to connect via an internal or external IP.
FAQ (frequently asked questions)
Q: I have a problem which is not answered in here! What should I do to?
A: Go to the Minecraft Forums and post your problem there. To help you, they need the following information:
Operating system
Version of Java
One machine or multiple computers
Exact description of the problem
Steps you have taken to solve the problem
Any errors you encountered
Screenshots of the problem (if possible)
Anything else that might help us to solve your problem - there almost never is too much information (passwords would be too much information!)
And please, if we were able to help you, post where the problem was exactly and what the fix was for that. Other people will appreciate that (and we will be able to get a grip on the common problems)!
Q: On a Windows computer, when I double click the batch file it opens a command prompt window, but quickly disappears and the server does not start.
A: Right-click your .bat program and hit edit; add a new line and type pause save and run the file. If it says invalid path, it is probably due to an incorrect path for javaw.exe or your server software. You may just need to change /jre7/ to /jre6/ . Or search your system for javaw.exe and adjust the path accordingly. (It's probably under c:\program files or c:\program files (x86).) Also, you must have the offline version of Java installed—not just the Java plug-in for your browser.
You can also try replacing the contents of the .bat file with: START "minecraft" "C:\Program Files (x86)\Java\jre7\bin\javaw.exe" -Xms1024m -Xmx1024m -jar "Minecraft_Server.jar" amending name values/locations as required
Q: Whenever I try to get the server up, it says "Failed to bind to port!".
A: This usually means that you have tried to use a port that is already in use or that you do not have permission to use (ports < 1024 are privileged and require root to bind to). You can try a different port by changing it in your server.properties file in this line: server-port=25565.
Note: You should avoid using the following ports for your server as some ISPs may block these ports for security reasons and you shouldn't be running the Minecraft server as root (in the case of a Linux type OS and ports < 1024):
21 (Used by most FTP Servers)
22 (Used by Secure Shell daemon)
25 (Used by Mail Servers for SMTP)
53 (Used by DNS Servers)
80 (Used by most Web Servers)
110 (Used by most Mail Servers for POP3)
115 (Used by Simple File Transfer Protocol)
143 (Used by Mail Servers for IMAP)
443 (SSL port for Web Servers)
3306 (Used by most MySQL Servers)
Generally avoid any port below number 1024, since those ports are generally referred as well-known ports and are registered with the IANA for important services.
Q: I tried to run the server with Solaris/OpenSolaris and got the following error:
java.io.InterruptedIOException: Operation interrupted
at java.net.SocketInputStream.socketRead0(Native Method)
at java.net.SocketInputStream.read(SocketInputStream.java:129)
at java.net.SocketInputStream.read(SocketInputStream.java:182)
at java.io.FilterInputStream.read(FilterInputStream.java:66)
at gq.a(SourceFile:131)
at ji.g(SourceFile:197)
at ji.c(SourceFile:17)
at oq.run(SourceFile:84)
2011-05-31 16:57:26 [INFO] /:44673 lost connection
A: For whatever reason, out of all of the operating systems, only Solaris throws that exception when a thread interrupts a connection. A workaround is to change the default behavior on the command line:
java -Xmx1G -Xms32M -XX:-UseVMInterruptibleIO -XX:+UseConcMarkSweepGC \
-XX:+CMSIncrementalPacing -XX:ParallelGCThreads=$CPU_COUNT -XX:+AggressiveOpts\
-jar minecraft.jar nogui
This instructs Java to use an interruptible IO stack instead of the default IO that is sensitive to interrupted threads.
Q: When I try to connect to my server this is what it says:
Connection lost
The server responded with an invalid server key
A: This error is usually caused when the server sends an unrecognized function to the client, which may be caused by using unrecognized server software, unbalanced client / server versions or modifications to the client.
Q: I cannot break/place any blocks!?
A: This is most usually caused by interacting with blocks in a protected area. If you are trying to interact near spawn, most likely it has been protected, by the minecraft server software; either build away from it or get operator status.
Q: My server runs fine but I cannot connect to it!
A: This could be caused by a series of issues. Please post a thread using the template provided above.
Q: How do you give a .jar server more ram?
A: Change the numbers in the server launch command "-Xmx1G -Xms1G". The -Xms part specifies how much memory the server starts with, and the -Xmx part is the maximum amount of memory the server can use. -Xmx1G -Xms2G = 1GB -Xmx2G -Xms1G = 2GB And so on.
Q: Why is the server CPU constantly at full load?
A: Some users are experiences full CPU load on the server. This may be caused by the GUI (graphic user interface) window. Run the server with the nogui option to disable this window.
Q: Help! How do you find out your server's IP address?
A: Read #Connect to the Minecraft server
Video/Alternative Tutorials
Here are some other tutorials on how to set up a Minecraft server:
Windows
Server Tutorial: How to Make A Vanilla Minecraft Server
How To Make a 1.6.2 Minecraft Server on Windows
How to Set Up and Host a Vanilla 1.5.2 Windows Minecraft Server
Mac OS X
How To Make a 1.6.2 Minecraft Server on Mac OS X
How to setup a 1.3.2+ Minecraft Server on OS X
Alternative video tutorial on setting up a Minecraft server with Mac OS X
Linux
Linux tutorial for more advanced users
How to Install Minecraft Server on CentOS
Others
How to Set Up Port Forwarding
How to Port Forward any Minecraft Server (1.6.2)
Alternative port forwarding tutorial for Windows (with pictures)
Full course
Course: How to Make a Server
[hide]Tutorials
Introductory Menu screen
Newcomer survival The first day/beginner's guide The second day The third day Hunger management Things not to do Simple tips and tricks Your first ten minutes
Shelters Best biomes for homes Building and construction Navigation Shelters Shelter types
General
Achievement guide Colonizing
Combat Complete main adventure
Creating a village
Dual wielding End survival Exploring caverns Furniture
Horses How to find caves Mapping Measuring distance
Mining
Diamonds
Nether fortress
Nether hub
Nether portals
Nether survival
Organization Pillar jumping
PvP PvP bases
The Void Time-saving tips
Village mechanics Minecraft in education Units of measure
Challenges Adventure survival Beating a challenge map Creating a challenge map
Defeating an ocean monument
Defeating temples Hardcore mode How to survive in a single area indefinitely
Infinite desert survival Nomadic experience
Superflat survival Ultra hardcore survival
Constructions Adding beauty to constructions Airlock Architectural terms Building a metropolis Building safe homes Defense Elevators Endless circling pool
Pig parking Roof types Curved roofs Roof construction guidelines Roof decorations Secret door Settlement guide Underwater home Walls and buttresses Water gate Water tram
Farming
Blocks and Items
Cactus
Cake
Cobblestone
Cocoa bean
Crops (Beetroot, Carrot, Potato, Wheat)
Egg
Fish
Flower
Ice
Meat
Mushroom
Music disc
Netherrack
Nether wart
Obsidian
Pumpkin, Melon
Snow
Sugar cane
Tree
Mobs Mob farming Mob grinding Battery farming
Mob Spawner traps
Animals (Cows, Pigs, Sheep)
Charged creeper
Enderman
Guardian
Iron golem
Magma cube
Slime
Squid
Witch
Wither
Wither skeleton
Zombie pigman
Enchanting and smelting
Enchantment mechanics
Anvil mechanics Automatic smelting
Choosing a fuel
Mechanisms
Basic redstone
Command block
Flashing redstone lamps
Flying technologies
Hopper Mechanisms Passlock door Redstone machines
Redstone music Rube Goldberg machine
Detectors Block update detector
Comparator update detector
Daylight sensor Day night detector
Minecarts Train station
Minecarts
Storage Start booster
Traps
Snow golems
TNT cannons
Trapdoor uses Trap design Traps
Pistons
Piston uses Piston circuits Quasi-connectivity
Redstone (Advanced) Advanced redstone circuits Calculator Command stats Hourly clock Pig randomiser Morse code Redstone telegraph Redstone clock telegraph Redstone computers
Servers Playing on servers Spawn jails for SMP Griefing
Server setup Setting up a server Server startup script FreeBSD startup script OpenBSD startup script Ubuntu startup script M3tal Warrior's server startup script Setting up a Hamachi server Setting up a Minecraft Forge server Ramdisk enabled server
Technical Creating a resource pack Creating mods Custom maps Improving frame rate Installing snapshots Loading a resource pack Map downloads Minecraft help FAQ (IRC channel) Playing and saving Minecraft on a thumb drive Pocket Edition Recover corrupted saved world data Save game data to Dropbox (world data only) Saving your game data to the Cloud with Dropbox Sound directory Update Java Falling sand
Creating Minecraft media Creating videos Livestreaming
Outdated How to get a crash report
Managing slimes in superflat mode
Minecart booster Repeater reboot system Update LWJGL Update Minecraft Man-made lake Water ladder Water tram Installing mods Custom texture packs
Far Lands
Categories: TutorialsServer
Around The Web
5 WAYS PEOPLE ARE CHEATING AT 'POKEMON GO'
4 REGION SPECIFIC POKEMON IN 'POKEMON GO'
12 AWESOME VIDEO GAMES NOBODY PLAYED
WHY 'OVERWATCH'S' SUMMER GAMES ARE A PROBLEM
Configure and connect
Now it is time to configure and connect.
Setting up a VPN
The contents of this section are not supported by Mojang AB, the Minecraft Wiki, the Minecraft IRC channel or the Minecraft Forums.
An alternate way to set up a server between you and your friends is to set up a VPN (virtual private network). This method may be deemed unrecommended, and an inconvenience for many users due to the fact that all users whom wish to connect to the server must download external software in order to join or create server. An alternative to this method is to port forward. Free software utilities that can be used to set up a VPN are Hamachi by LogMeIn and Evolve by Echobit (Hamachi supports Windows, Mac OS X, and Linux, but Evolve currently only supports Windows). OpenVPN is another (free, open source) alternative that supports most OSes, but is a bit more difficult to configure. The free version of Hamachi allows up to 5 connections (i.e. players), while the free version of Evolve allows an unlimited number of connections.
Setting up Hamachi
Install Hamachi on each computer that wishes to participate in the server, including the host.
Windows / Mac
Linux (32-bit and 64-bit .deb and .rpm packages are available, you can install it on Gentoo by emerging "net-misc/logmein-hamachi")
The host server signs up for admin via the Logmein website.
On the host machine, a new Hamachi network is created.
The host installs and configures the Minecraft server software:
The server IP field in server.properties is left blank (as default).
The host passes the newly created Hamachi network credentials to each of the players.
The players connect to the host's Hamachi network.
Now that all the machines are connected within the same Hamachi network, the host gives their machine's Hamachi IPv4 address to the players.
Each player connects using this IP as per the usual Minecraft multiplayer screen.
Setting up Evolve
Install Evolve on each computer that wishes to participate in the server, including the host.
Windows
Each computer participating must create an account on Evolve's website, whether they host the server or not.
On the host machine, a new Evolve party is created. This can be done after logging in by opening the Friends window, clicking the red "Friends" tab, and clicking "Create Party..."
The host installs and configures the Minecraft server software:
The server IP field in server.properties is left blank (as default).
The host adds each participating computer as a friend (Friends window > "Add Friend..." > enter the nickname of each computer, which was created in step 2) and then adds them in the party (double-click the party > "Send Party Invite" > enter the nickname of each friended computer. You must add them as a friend first, or they will not be added).
The players connect to the host's Evolve party.
Now that all the machines are connected within the same Evolve party, each player connects using the host's Evolve IP address (10.xxx.xxx.2, shown next to their name on the sidebar of the party) as per the usual Minecraft multiplayer screen.
Evolve also doubles as a LAN bridger, so any singleplayer worlds opened to LAN can be accessed just as any other LAN server: at the bottom of the Multiplayer screen.
The only advantage of being the party creator is that you can kick and ban players from your party. Any player in the party can host a Minecraft server.
You can get help with setting up a party from the Evolve group chat room.
Configuring the Minecraft server
Configure the server by editing the server.properties file, the format for which is explained here. Be certain to edit the file with a text editor that does not add formatting (e.g., for italics), such as Windows 7's Notepad. Additional configuration may not be necessary as many servers run fine from the default values.
To become or add an operator ("op"), type "/op <username>" into the server console or gui. This adds the specified user's username and UUID to the ops.json file. Operator status will not be changed if you chnage your username due to the use of UUID.
Administrators and operators may execute commands. In other words, operator ("op") privileges allow you to control certain aspects of the game (e.g., teleporting players).
If your server.properties is configured to enable whitelist, you can add a user to the whitelist.json by typing "/whitelist add <username>" into the server console or gui. Due to the transition to the UUID system, it is not recommended to directly edit whitelist.json.
Connect to the Minecraft server
If you are playing on the same machine on which the server is running, select the "Multiplayer" option in the game client, click direct connect, and then type in "localhost" instead of an IP address.
Both hosting and playing on the same machine is not a recommended practice unless you have a powerful computer (e.g. more than 6 gigabytes of ram (5 for the server, 1 for the client, and remainder for system).
Users within your local network (i.e. that are accessing the same router) can connect using your internal IP address - port forwarding is not required for such local connections. The internal IP address of a specific network adapter can be found by typing "ipconfig" into command prompt and looking for the ipv4 address.
People connecting from the Internet (i.e., outside of your local network) must connect using your external IP address. You must port forward for someone outside your network to connect to the server.
IP address notes
Unless you set a static IP for the computer that is hosting the game, the internal IP address can change. This affects port forwarding rules, and can make them invalid. Each modem or router has a different way of setting a static IP address. You should refer to the manual for your device(s) or online documentation for further instruction.
If you are having players connect to your external IP, your external IP can change if you do not have a static IP from your internet service provider. Use a tool such as MyWANIP to periodically check on the external IP address. You may also search "my ip address" on Google and it will show your IP address. Alternatively, you can look into a DNS service that will allow you to have a name, rather than an IP address, that will remain the same. The name will point to your external IP address, regardless of whether or not it changes (the DNS is updated when changes occur).
For troubleshooting purposes you can try running Minecraft on the server machine and connect locally. You can connect trough either localhost, your home network IP (192.168.x.x) or your public (Internet) IP.
If for some reason you have trouble with connecting publicly over your IPv4, try connecting over IPv6. This should only be done for testing whether your server is online, external players should still use IPv4.
Firewalling, NATs and external IP addresses
You must open the TCP port (default is 25565) on the firewall.
If the server in question is not reachable via a globally routable IP address, you will need to add appropriate address and/or port number translation rules to the gateway — usually your router has the global IP address.
For help with address translation, opening the firewall and routing (these three make up what people call port mapping/forwarding), portforward.com is a good source. Select your router from that list, skip the ad that comes after selecting the device, and you will see instructions for setting up port forwarding. Alternatively, you can read the documentation supplied with your router, modem, or other ISP related hardware.
Verify the port is open, and note your external IP by using a port checker tool, such as You Get Signal. The default port you should test is 25565, unless you specified something else. Have the Minecraft server running when you test the port.
You can obtain your external IP address from YouGetSignal.
Local network dedicated servers
This only applies to Classic (v0.30) servers.
A common problem for server administrators is the inability to connect to your own server via another machine on your local network. A typical scenario for this is that you have a Classic server running on a dedicated machine, and you have your own machine which you play on. They're both connected to the same router/switch, and have internal IP's with the octets '192.168.x.x'. Normally, connecting via the URL generated for your server will result in an error message claiming that the server is offline.
To correct this, you must add a function to the end of your URL, bookmarks, or whatever else you connect by. The function is: ?override=true
Example: www.minecraft.net/classic/play/4c3bebb1a01816acbe31c5ece1570da5?override=true
Previously, (before the 1.8 beta and website update) this was &override=true. This caused much confusion since the change was not announced by Mojang, and wasn't announced on the website applet pages either. Before the update, connecting to your own URL via the website resulted in red text under the applet window saying "If you can't connect, try this link instead." The link returned the same thing, with the &override=true affixed to the end.
Note: This situation does not effect Beta servers, and you should be able to connect via an internal or external IP.
FAQ (frequently asked questions)
Q: I have a problem which is not answered in here! What should I do to?
A: Go to the Minecraft Forums and post your problem there. To help you, they need the following information:
Operating system
Version of Java
One machine or multiple computers
Exact description of the problem
Steps you have taken to solve the problem
Any errors you encountered
Screenshots of the problem (if possible)
Anything else that might help us to solve your problem - there almost never is too much information (passwords would be too much information!)
And please, if we were able to help you, post where the problem was exactly and what the fix was for that. Other people will appreciate that (and we will be able to get a grip on the common problems)!
Q: On a Windows computer, when I double click the batch file it opens a command prompt window, but quickly disappears and the server does not start.
A: Right-click your .bat program and hit edit; add a new line and type pause save and run the file. If it says invalid path, it is probably due to an incorrect path for javaw.exe or your server software. You may just need to change /jre7/ to /jre6/ . Or search your system for javaw.exe and adjust the path accordingly. (It's probably under c:\program files or c:\program files (x86).) Also, you must have the offline version of Java installed—not just the Java plug-in for your browser.
You can also try replacing the contents of the .bat file with: START "minecraft" "C:\Program Files (x86)\Java\jre7\bin\javaw.exe" -Xms1024m -Xmx1024m -jar "Minecraft_Server.jar" amending name values/locations as required
Q: Whenever I try to get the server up, it says "Failed to bind to port!".
A: This usually means that you have tried to use a port that is already in use or that you do not have permission to use (ports < 1024 are privileged and require root to bind to). You can try a different port by changing it in your server.properties file in this line: server-port=25565.
Note: You should avoid using the following ports for your server as some ISPs may block these ports for security reasons and you shouldn't be running the Minecraft server as root (in the case of a Linux type OS and ports < 1024):
21 (Used by most FTP Servers)
22 (Used by Secure Shell daemon)
25 (Used by Mail Servers for SMTP)
53 (Used by DNS Servers)
80 (Used by most Web Servers)
110 (Used by most Mail Servers for POP3)
115 (Used by Simple File Transfer Protocol)
143 (Used by Mail Servers for IMAP)
443 (SSL port for Web Servers)
3306 (Used by most MySQL Servers)
Generally avoid any port below number 1024, since those ports are generally referred as well-known ports and are registered with the IANA for important services.
Q: I tried to run the server with Solaris/OpenSolaris and got the following error:
java.io.InterruptedIOException: Operation interrupted
at java.net.SocketInputStream.socketRead0(Native Method)
at java.net.SocketInputStream.read(SocketInputStream.java:129)
at java.net.SocketInputStream.read(SocketInputStream.java:182)
at java.io.FilterInputStream.read(FilterInputStream.java:66)
at gq.a(SourceFile:131)
at ji.g(SourceFile:197)
at ji.c(SourceFile:17)
at oq.run(SourceFile:84)
2011-05-31 16:57:26 [INFO] /:44673 lost connection
A: For whatever reason, out of all of the operating systems, only Solaris throws that exception when a thread interrupts a connection. A workaround is to change the default behavior on the command line:
java -Xmx1G -Xms32M -XX:-UseVMInterruptibleIO -XX:+UseConcMarkSweepGC \
-XX:+CMSIncrementalPacing -XX:ParallelGCThreads=$CPU_COUNT -XX:+AggressiveOpts\
-jar minecraft.jar nogui
This instructs Java to use an interruptible IO stack instead of the default IO that is sensitive to interrupted threads.
Q: When I try to connect to my server this is what it says:
Connection lost
The server responded with an invalid server key
A: This error is usually caused when the server sends an unrecognized function to the client, which may be caused by using unrecognized server software, unbalanced client / server versions or modifications to the client.
Q: I cannot break/place any blocks!?
A: This is most usually caused by interacting with blocks in a protected area. If you are trying to interact near spawn, most likely it has been protected, by the minecraft server software; either build away from it or get operator status.
Q: My server runs fine but I cannot connect to it!
A: This could be caused by a series of issues. Please post a thread using the template provided above.
Q: How do you give a .jar server more ram?
A: Change the numbers in the server launch command "-Xmx1G -Xms1G". The -Xms part specifies how much memory the server starts with, and the -Xmx part is the maximum amount of memory the server can use. -Xmx1G -Xms2G = 1GB -Xmx2G -Xms1G = 2GB And so on.
Q: Why is the server CPU constantly at full load?
A: Some users are experiences full CPU load on the server. This may be caused by the GUI (graphic user interface) window. Run the server with the nogui option to disable this window.
Q: Help! How do you find out your server's IP address?
A: Read #Connect to the Minecraft server
Video/Alternative Tutorials
Here are some other tutorials on how to set up a Minecraft server:
Windows
Server Tutorial: How to Make A Vanilla Minecraft Server
How To Make a 1.6.2 Minecraft Server on Windows
How to Set Up and Host a Vanilla 1.5.2 Windows Minecraft Server
Mac OS X
How To Make a 1.6.2 Minecraft Server on Mac OS X
How to setup a 1.3.2+ Minecraft Server on OS X
Alternative video tutorial on setting up a Minecraft server with Mac OS X
Linux
Linux tutorial for more advanced users
How to Install Minecraft Server on CentOS
Others
How to Set Up Port Forwarding
How to Port Forward any Minecraft Server (1.6.2)
Alternative port forwarding tutorial for Windows (with pictures)
Full course
Course: How to Make a Server
[hide]Tutorials
Introductory Menu screen
Newcomer survival The first day/beginner's guide The second day The third day Hunger management Things not to do Simple tips and tricks Your first ten minutes
Shelters Best biomes for homes Building and construction Navigation Shelters Shelter types
General
Achievement guide Colonizing
Combat Complete main adventure
Creating a village
Dual wielding End survival Exploring caverns Furniture
Horses How to find caves Mapping Measuring distance
Mining
Diamonds
Nether fortress
Nether hub
Nether portals
Nether survival
Organization Pillar jumping
PvP PvP bases
The Void Time-saving tips
Village mechanics Minecraft in education Units of measure
Challenges Adventure survival Beating a challenge map Creating a challenge map
Defeating an ocean monument
Defeating temples Hardcore mode How to survive in a single area indefinitely
Infinite desert survival Nomadic experience
Superflat survival Ultra hardcore survival
Constructions Adding beauty to constructions Airlock Architectural terms Building a metropolis Building safe homes Defense Elevators Endless circling pool
Pig parking Roof types Curved roofs Roof construction guidelines Roof decorations Secret door Settlement guide Underwater home Walls and buttresses Water gate Water tram
Farming
Blocks and Items
Cactus
Cake
Cobblestone
Cocoa bean
Crops (Beetroot, Carrot, Potato, Wheat)
Egg
Fish
Flower
Ice
Meat
Mushroom
Music disc
Netherrack
Nether wart
Obsidian
Pumpkin, Melon
Snow
Sugar cane
Tree
Mobs Mob farming Mob grinding Battery farming
Mob Spawner traps
Animals (Cows, Pigs, Sheep)
Charged creeper
Enderman
Guardian
Iron golem
Magma cube
Slime
Squid
Witch
Wither
Wither skeleton
Zombie pigman
Enchanting and smelting
Enchantment mechanics
Anvil mechanics Automatic smelting
Choosing a fuel
Mechanisms
Basic redstone
Command block
Flashing redstone lamps
Flying technologies
Hopper Mechanisms Passlock door Redstone machines
Redstone music Rube Goldberg machine
Detectors Block update detector
Comparator update detector
Daylight sensor Day night detector
Minecarts Train station
Minecarts
Storage Start booster
Traps
Snow golems
TNT cannons
Trapdoor uses Trap design Traps
Pistons
Piston uses Piston circuits Quasi-connectivity
Redstone (Advanced) Advanced redstone circuits Calculator Command stats Hourly clock Pig randomiser Morse code Redstone telegraph Redstone clock telegraph Redstone computers
Servers Playing on servers Spawn jails for SMP Griefing
Server setup Setting up a server Server startup script FreeBSD startup script OpenBSD startup script Ubuntu startup script M3tal Warrior's server startup script Setting up a Hamachi server Setting up a Minecraft Forge server Ramdisk enabled server
Technical Creating a resource pack Creating mods Custom maps Improving frame rate Installing snapshots Loading a resource pack Map downloads Minecraft help FAQ (IRC channel) Playing and saving Minecraft on a thumb drive Pocket Edition Recover corrupted saved world data Save game data to Dropbox (world data only) Saving your game data to the Cloud with Dropbox Sound directory Update Java Falling sand
Creating Minecraft media Creating videos Livestreaming
Outdated How to get a crash report
Managing slimes in superflat mode
Minecart booster Repeater reboot system Update LWJGL Update Minecraft Man-made lake Water ladder Water tram Installing mods Custom texture packs
Far Lands
Categories: TutorialsServer
Around The Web
5 WAYS PEOPLE ARE CHEATING AT 'POKEMON GO'
4 REGION SPECIFIC POKEMON IN 'POKEMON GO'
12 AWESOME VIDEO GAMES NOBODY PLAYED
WHY 'OVERWATCH'S' SUMMER GAMES ARE A PROBLEM
More like this
3786468
3


Have something to say?