I have two copies of minecraft and I would like to use them to play two player games on a private server. I have done hours of research and tests trying to get the game to work. So far, I have manged to create and join a server on one computer but I have not been able to connect from the other computer. I have read about IPs and port forwarding and network mumbo-jumbo that I don't really understand. Both computers connect to the internet through one router (which is usually how I LAN games). Can someone give me step by step instructions on creating and joining a server? I have followed the guides to some avail, but I would like to get the second computer connected.
If both computers are on the same network you don't have to worry about port forwarding or anything like that.
You just have the computer that is not running the server, connect to the local IP of the computer that is. The local IP usually starts with 192.168... That should be all you need.
Thank you for the reply!
I did more research and tried again this morning. I got the server running and connected to it from the same PC and gave the internal IP of that computer to the other so that it could connect. It kinda worked. The server recognized my other profile joining the game but the connection timed out before it could join. Then I have issues with the host computer losing connection to the internet after closing the server. Apparently, I am not the only one this has happened to.
Again, if anyone has a solution, I would love to hear it.
Ultimately, it would be nice to have a server browser for internet and LAN implemented like in every other game. I know it's quite a task but I'm sure that other developers would be willing to lend a hand.
It's possible that you're having issues because you're running the server and client on the same computer. Can you try just running the server on one and using the client on the second?
What are the specs on the two computers? Are they wireless or wired to your router?
Also, for the server, are you running the .exe or the .jar? If it's the .jar, how much memory are you allocating to Minecraft itself for the server?
I had some issues when I first set up a server and the two things that were not playing nice were the port numbers and the windows firewall.
Make sure to disable the windows firewall on the machine that is running the server and dont change the default port of the minecraft server (for now) and you should be good. One thing though, and I think its just an issue with it being buggy software still and that is initially when the server starts remote users cant connect. There seems to be a delay in the connection. What Ive found is connecting with the local client first helps to get the 2nd person connected. Also keep in mind the server needs consistent access to the internet to authenticate users and 9 out of 10 times Ive found login issues have been caused by the minecraft.net servers being down or unresponsive.
*edit* FYI I currently run both the client and server on the same computer without issues. other than what I described above, which has been login (authenticating) issues not minecraft server issues.
Running the server on one and the client on the other would be useless to me because then I would still be playing alone. My goal is for me and another person to be able to play the game together in the same house.
The computers are both set up in my room and each have a wired connection to a router. The main computer (that I use for hosting all of my LANs and the server in this case) has an AMD 2.8GHz Triple Core Processor, 4GB DDR3 RAM and one 9800GTX+ GPU. The other computer has an AMD 2.3GHz Dual Core with 2GB DDR2 and a Radeon X1300 GPU. Both computers run XP.
According to the Minecraft download page, the one I downloaded was the .exe server. The .jar sounded really complicated.
I right clicked the server icon and went to properties and saw that the server was being blocked. I unblocked it and will try again. I'll report back if it worked or not. If you have any more solutions or ideas, please add them. I always appreciate help! Thank you all!
Alright, here's how I did it, so it might work for you.
Windows:
Download the minecraft server software, Run the server, open "Server.Properties" with notepad or similar,
Your settings should read something like this:
#Minecraft server properties
#Tue Jan 25 02:13:08 CST 2011
level-name=[Insert your name here, minus the brackets]
hellworld=false [Turning this to true will cause ghasts and hell mobs to spawn.]
spawn-monsters=false [Turning this on will make monsters spawn at night.]
online-mode=false [THIS keeps your game on the in-house network, rather than exposing it to the scary world of the interwebs.]
spawn-animals=true [Like monster spawn, this toggle controls animals]
max-players=20 [Default setting, raise or decrease it as you see fit.]
server-ip=xxx.xxx.x.x .x.x.x.x.x :XXXXX Your home IP number - to find your IP number read below
pvp=false [True]
server-port=25565 [Again, I think that was default. Isn't it FFFF in hex? ... Hmm, no, that's 65535, isn't it? Anyway, I digress.]
Now, here's how you find your IP number - again, in windows -
run -> command prompt -> (then type into the prompt "ipconfig" minus the quotation marks)
This will bring up a whole lot of data about your connection, but the most important bits for you at this point are in a #.#.#.# format.
Once you have your settings file configured, save it, restart your server, and connect to it using your IP number.
I entered my internal IP in the server config and tried to connect again, but I got the same results. The server recognizes someone joining, the player times out, and the server recognizes him leaving. After that, the internet crashes. The only difference (though very nice) was the incredibly smooth latency in comparison to typing 'localhost' or the local IP (127.0 something?).
Thank you!
You just have the computer that is not running the server, connect to the local IP of the computer that is. The local IP usually starts with 192.168... That should be all you need.
w: minecraft.cm | e: [email protected] | t: @minecraft_cm | reviews
I did more research and tried again this morning. I got the server running and connected to it from the same PC and gave the internal IP of that computer to the other so that it could connect. It kinda worked. The server recognized my other profile joining the game but the connection timed out before it could join. Then I have issues with the host computer losing connection to the internet after closing the server. Apparently, I am not the only one this has happened to.
Again, if anyone has a solution, I would love to hear it.
Ultimately, it would be nice to have a server browser for internet and LAN implemented like in every other game. I know it's quite a task but I'm sure that other developers would be willing to lend a hand.
What are the specs on the two computers? Are they wireless or wired to your router?
Also, for the server, are you running the .exe or the .jar? If it's the .jar, how much memory are you allocating to Minecraft itself for the server?
w: minecraft.cm | e: [email protected] | t: @minecraft_cm | reviews
Make sure to disable the windows firewall on the machine that is running the server and dont change the default port of the minecraft server (for now) and you should be good. One thing though, and I think its just an issue with it being buggy software still and that is initially when the server starts remote users cant connect. There seems to be a delay in the connection. What Ive found is connecting with the local client first helps to get the 2nd person connected. Also keep in mind the server needs consistent access to the internet to authenticate users and 9 out of 10 times Ive found login issues have been caused by the minecraft.net servers being down or unresponsive.
*edit* FYI I currently run both the client and server on the same computer without issues. other than what I described above, which has been login (authenticating) issues not minecraft server issues.
Running the server on one and the client on the other would be useless to me because then I would still be playing alone. My goal is for me and another person to be able to play the game together in the same house.
The computers are both set up in my room and each have a wired connection to a router. The main computer (that I use for hosting all of my LANs and the server in this case) has an AMD 2.8GHz Triple Core Processor, 4GB DDR3 RAM and one 9800GTX+ GPU. The other computer has an AMD 2.3GHz Dual Core with 2GB DDR2 and a Radeon X1300 GPU. Both computers run XP.
According to the Minecraft download page, the one I downloaded was the .exe server. The .jar sounded really complicated.
I right clicked the server icon and went to properties and saw that the server was being blocked. I unblocked it and will try again. I'll report back if it worked or not. If you have any more solutions or ideas, please add them. I always appreciate help! Thank you all!
Windows:
Download the minecraft server software, Run the server, open "Server.Properties" with notepad or similar,
Your settings should read something like this:
#Minecraft server properties
#Tue Jan 25 02:13:08 CST 2011
level-name=[Insert your name here, minus the brackets]
hellworld=false [Turning this to true will cause ghasts and hell mobs to spawn.]
spawn-monsters=false [Turning this on will make monsters spawn at night.]
online-mode=false [THIS keeps your game on the in-house network, rather than exposing it to the scary world of the interwebs.]
spawn-animals=true [Like monster spawn, this toggle controls animals]
max-players=20 [Default setting, raise or decrease it as you see fit.]
server-ip=xxx.xxx.x.x .x.x.x.x.x :XXXXX Your home IP number - to find your IP number read below
pvp=false [True]
server-port=25565 [Again, I think that was default. Isn't it FFFF in hex? ... Hmm, no, that's 65535, isn't it? Anyway, I digress.]
Now, here's how you find your IP number - again, in windows -
run -> command prompt -> (then type into the prompt "ipconfig" minus the quotation marks)
This will bring up a whole lot of data about your connection, but the most important bits for you at this point are in a #.#.#.# format.
Once you have your settings file configured, save it, restart your server, and connect to it using your IP number.
That -should- fix it up for you. Good luck!
I entered my internal IP in the server config and tried to connect again, but I got the same results. The server recognizes someone joining, the player times out, and the server recognizes him leaving. After that, the internet crashes. The only difference (though very nice) was the incredibly smooth latency in comparison to typing 'localhost' or the local IP (127.0 something?).