Every now and then my friends come over with their laptops and we try to open one of our worlds via the new LAN option. Sadly this does not work. It always say "Connection refused", and sometimes doesn't even note the LAN server is up. I have done a bit of google searching to see if there is a possible fix, but to no avail. Though I do have enough RAM on my laptop to host a craftbukkit server and play MC without much lag, it is a bit of an annoyance..
I have tried restarting minecraft, my laptop, they have done the same, and we've tried re-installing (Launcher included)
PC info:
Linux (Debian)
OpenJDK-6-jre
I have tried connecting from Linux > Linux, Linux > Windows, Windows > Linux, and Windows > Windows (I can dual boot)
Any ideas? I can list the contents of my .jar or .minecraft, if need be.
I am having similar problems with LAN. Today I put my account onto our other computer and got all the files downloaded, but am just using that computer on Offline mode, with mine logged in. My problem is that the LAN works only one way. I think I have figured the problem, which is with IP addresses. While our home IP addresses all start with 172, (and even my computer shows it's IP address does too, my computer creates the LAN server using a 192.128 IP address. It's odd. The thing is the other computer creates the server with 172, and I can join just fine. But the other computer can't join me. I have tried logging in on the other computer, and using mine offline, but the same thing happens. So it has nothing to do with offline or online. I think it's IP address problems, I just don't know how to tell Minecraft to use the IP address starting with 172, and not the 198 one. It's weird. Firewalls are all off too.
I am having similar problems with LAN. Today I put my account onto our other computer and got all the files downloaded, but am just using that computer on Offline mode, with mine logged in. My problem is that the LAN works only one way. I think I have figured the problem, which is with IP addresses. While our home IP addresses all start with 172, (and even my computer shows it's IP address does too, my computer creates the LAN server using a 192.128 IP address. It's odd. The thing is the other computer creates the server with 172, and I can join just fine. But the other computer can't join me. I have tried logging in on the other computer, and using mine offline, but the same thing happens. So it has nothing to do with offline or online. I think it's IP address problems, I just don't know how to tell Minecraft to use the IP address starting with 172, and not the 198 one. It's weird. Firewalls are all off too.
I noticed something similar. My static IP from my router is 10.0.0.29, but the IP for the server it gives me is something along the lines of 127.69.xx:1098 or something. The best I can figure is it's using my lo IP instead of my wlan0 IP..
I noticed something similar. My static IP from my router is 10.0.0.29, but the IP for the server it gives me is something along the lines of 127.69.xx:1098 or something. The best I can figure is it's using my lo IP instead of my wlan0 IP..
I fixed mine, hopefully if yours is similar, it will fix yours too. For some reason my computer was still having an IP address that I'm guessing Minecraft saw first instead of the real one. And even changing my Static IP, it would try to use the other random IP that was there. What I did (and this is for Mac, so since you are on Windows, it will be different, but try to find the comparable method. All I had to do was go to my Systems Preferences, then go to Network. Inside there is a pull down tab for Location, and I created a new Location which I then got onto the Wifi Network with. I restarted my computer and now the random IP address is gone! LAN works perfectly now for me. Hopefully this could solve your issue? Worth a try. Like I said, it will be different on Windows, but try to find a way to reset Wifi or Network settings for your computer.
I fixed mine, hopefully if yours is similar, it will fix yours too. For some reason my computer was still having an IP address that I'm guessing Minecraft saw first instead of the real one. And even changing my Static IP, it would try to use the other random IP that was there. What I did (and this is for Mac, so since you are on Windows, it will be different, but try to find the comparable method. All I had to do was go to my Systems Preferences, then go to Network. Inside there is a pull down tab for Location, and I created a new Location which I then got onto the Wifi Network with. I restarted my computer and now the random IP address is gone! LAN works perfectly now for me. Hopefully this could solve your issue? Worth a try. Like I said, it will be different on Windows, but try to find a way to reset Wifi or Network settings for your computer.
Actually I'm on a distro of Linux, but I noticed the random IP thing, too. I can't test it, yet, but the IP it gives me is a form of my lo IP, which has no internet connection, and is only used if I create an ADHOC network on my laptop (Which is pointless, unless you don't have connection to a router) I'm thinking if I run the command to stop that connection (which comes before wlan0, which has my router IP, and is most likely causing the issues) it may fix my problems, as well..
Actually I'm on a distro of Linux, but I noticed the random IP thing, too. I can't test it, yet, but the IP it gives me is a form of my lo IP, which has no internet connection, and is only used if I create an ADHOC network on my laptop (Which is pointless, unless you don't have connection to a router) I'm thinking if I run the command to stop that connection (which comes before wlan0, which has my router IP, and is most likely causing the issues) it may fix my problems, as well..
I spoke too soon I got it working last night, but today it keeps showing the 192 address again as the server. Looking at my IPs from Terminal on my Mac it displays both IP addresses though. I don't get why it came back. We used to have our IP addresses starting with the 192, but since then it has changed. I doubt that has anything to do with it though. Every other computer in the house is working properly. So it's something with mine. I don't have any other operating system or partition on my hardrive, and I can't think of what would be wanting that random IP. I wish I knew how to stop that random IP connection and just kill it off Haha. It's annoying trying to get LAN working with that just sitting there inactive. But yet Minecraft just chooses it for the server not knowing.
Do you have a router? Have you opened the Minecraft ports on your router? Is your operating system or software blocking connections on these ports? Are your friends connecting to an IP address directly instead of clicking on the LAN world?
You still need to open the traditional Minecraft server ports, just like a regular server, and make sure no firewall is blocking it. Once that is done, go into your world and open it to LAN. Your friends should see your world in the Multiplayer menu.
Do you have a router? Have you opened the Minecraft ports on your router? Is your operating system or software blocking connections on these ports? Are your friends connecting to an IP address directly instead of clicking on the LAN world?
You still need to open the traditional Minecraft server ports, just like a regular server, and make sure no firewall is blocking it. Once that is done, go into your world and open it to LAN. Your friends should see your world in the Multiplayer menu.
I did more research and it has to do with *nix operating systems interpreting localhost as loopback. Windows does not have a loopback IP, so it takes the router IP it is given and uses that. *nix systems have a loopback ip (127.0.0.1), so minecraft uses that. When other users attempt to join a LAN world (provided it shows up for them) their computer is simply connecting to itself, and provides a connection refused error. Unless Dinnerbone or Jeb provides the option to use wlan0 or eth0 IP's (which would be 192.... or 10... or whatever the router provides you with) LAN serverhosting is impossible on *nix.
If my statements aren't spot on, pardon me, this is from my understanding and the best I can explain it.
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
I have tried restarting minecraft, my laptop, they have done the same, and we've tried re-installing (Launcher included)
PC info:
Linux (Debian)
OpenJDK-6-jre
I have tried connecting from Linux > Linux, Linux > Windows, Windows > Linux, and Windows > Windows (I can dual boot)
Any ideas? I can list the contents of my .jar or .minecraft, if need be.
-
View User Profile
-
View Posts
-
Send Message
ModeratorI have nothing that blocks incoming connections.
I noticed something similar. My static IP from my router is 10.0.0.29, but the IP for the server it gives me is something along the lines of 127.69.xx:1098 or something. The best I can figure is it's using my lo IP instead of my wlan0 IP..
Make sure you are not using a proxy.
I have no proxy enabled for my system.
Actually I'm on a distro of Linux, but I noticed the random IP thing, too. I can't test it, yet, but the IP it gives me is a form of my lo IP, which has no internet connection, and is only used if I create an ADHOC network on my laptop (Which is pointless, unless you don't have connection to a router) I'm thinking if I run the command to stop that connection (which comes before wlan0, which has my router IP, and is most likely causing the issues) it may fix my problems, as well..
I spoke too soon
You still need to open the traditional Minecraft server ports, just like a regular server, and make sure no firewall is blocking it. Once that is done, go into your world and open it to LAN. Your friends should see your world in the Multiplayer menu.
Beta 1.7.3 Mods | Classicube
I did more research and it has to do with *nix operating systems interpreting localhost as loopback. Windows does not have a loopback IP, so it takes the router IP it is given and uses that. *nix systems have a loopback ip (127.0.0.1), so minecraft uses that. When other users attempt to join a LAN world (provided it shows up for them) their computer is simply connecting to itself, and provides a connection refused error. Unless Dinnerbone or Jeb provides the option to use wlan0 or eth0 IP's (which would be 192.... or 10... or whatever the router provides you with) LAN serverhosting is impossible on *nix.
If my statements aren't spot on, pardon me, this is from my understanding and the best I can explain it.