Play Minecraft multiplayer in same house (through router)
Posted 26 January 2011 - 04:41 AM
Posted 26 January 2011 - 04:42 AM
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.
Posted 26 January 2011 - 10:23 PM
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.
Posted 26 January 2011 - 10:25 PM
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?
Posted 26 January 2011 - 10:28 PM
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.
Posted 27 January 2011 - 06:56 PM
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!
Posted 27 January 2011 - 08:33 PM
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
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!
Posted 28 January 2011 - 02:06 AM
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?).