Minecraft LAN server without internet?
Posted 13 June 2012 - 08:41 PM
I'm Isaak, I've been trying to get my minecraft server set up for a LAN connection without internet and I've been running into a number of problems along the way. Hopefully one of you can help me out!
Me and my father are going on a big trip into the mountains, it will last about three months. When we get there we will not have any internet access. I'm trying to set up a minecraft server on so that we both can connect our two laptops with a single cable and play with a LAN connection, no routers, no modems.
I've already done a bunch of research on the subject, and followed multiple guides like this one: http://www.minecraft...ork-lan-server/, but I cannot seem to be able to connect to my own server on my laptop at all. Usually I get somthing like it took too long to connect or "Internal exception: java.net.SocketTimeoutException: Read timed out" and I'm not sure what to do to solve these issues.
On my system (win7 64-bit), I've installed both Java 32-bit and 64-bit, Minecraft 1.2.5, then I set Java to allocate more memory to Minecraft: http://www.minecraft...o-java-windows/, and then I installed OptifineFine HD C2 Multi-Core: http://www.minecraft...and-much-more/. So far I've only done this on my laptop, I havent even got to the steps where I do the same thing for my fathers laptop or even tried connecting to my server with his yet.
Personally I don't believe OptiFine should have anything to do with this issue, my brother has had servers running before and I have been able to connect to his with OptiFine without issue, but his servers wern't trying to do it over LAN either.
In my Minecraft Server properties file I made sure to leave the ip blank and set it to offline mode, but those dont seem to make any difference. Any advice that might help me out?
Thanks for your time,
Posted 13 June 2012 - 08:50 PM
If localhost works but the private IP does not, you have a firewall in the way.
Posted 13 June 2012 - 09:12 PM
Posted 13 June 2012 - 09:31 PM
Do you have the Mac Firewall enabled? Does it have weird settings? Is there another security suite or something you might be using?
edit: Also, I noticed you said you installed both the 32 bit and 64 bit jre. You don't want both - you might try removing both, then re-installing the 64 bit version.
Posted 13 June 2012 - 09:54 PM
Otherwise I do not have any Mac firewall installed, or anything besides the default Windows 7 built-in firewall. But that shouldn't be the issue as it usually asks if I want to block or unblock somthing as soon as it sees the connection attempt.
Update: (1 hour after initial post)
Well I've tried another approach by attaching my old Linksys WRT54G router between the two laptops.
The router is not connected to the internet, and attaching both laptops to it automatically disables the wireless internet connections.
Went into router options with '192.168.1.1', went to 'applications and gaming' tab and set it up to forward the 25565 port for the ip address of '192.168.1.100' which is what the IvP4 got automatically set to after connecting to the router.
Having set that up I went into the server properties and set the IP to '192.168.1.100' and I still cannot connect through my own laptop or the other laptop.
I just don't know where I'm going wrong.
Update: (another hour passes)
After some more investigating I think this problem has to do with the "Internal exception: java.net.SocketTimeoutException: Read timed out" error that I get when trying to connect to my own server. Usually when this error shows up I also get a notification in the server window about the connection appempt disconnecting.
I tried searching for a solution, but most places are instead filled with people saying they have the problem too or someone just saying that the "Server is down" which isn't much help when you are the one running the server and you know it is running.
Can anyone give me more information about this error?
Posted 14 June 2012 - 03:14 PM
Correct. You rely on both 32 and 64 bit versions of your browser? If not, keep it simple and stick to one version. It's an easy troubleshooting step. Not being able to connect on localhost and the error you're getting (too long to connect, right?) are odd, so I'd give it a try just to eliminate it from the things to try....
Port forwarding isn't necessary on the local network. That's only to forward ports from the external network (which you won't have with the config you want).
I would suggest you leave the physical networking arrangement alone for now until you sort the issue with the server the way it is. It will make it slightly easier to try to troubleshoot if the configuration isn't changing. Once you get the server working, you'll need to set up an ad hoc connection over wireless or assign static IPs to the Ethernet network or use a router in the middle like you mentioned. That's all separate from getting the server itself working, though.
Posted 16 June 2012 - 10:08 PM
Posted 20 July 2012 - 05:05 AM
This makes it such that one does not have to be "online" or using a premium account. And so cracked versions can thus access your server.
If you found my advice helpful, vote me up!
Posted 02 August 2012 - 06:10 PM
Posted 02 August 2012 - 06:16 PM
Posted 27 August 2013 - 04:03 AM
Posted 27 August 2013 - 05:01 AM