127.0.0.1 Will return "localhost" your own computer also minecraft should be able to find the LAN worlds. If not let the person that is on the same network as you connect with your IPV4 adress.
127.0.0.1 Will return "localhost" your own computer also minecraft should be able to find the LAN worlds. If not let the person that is on the same network as you connect with your IPV4 adress.
I gave my IPV4 adress with the special port to my friends but they still can't connect to it
Alright well, good luck, i've never tried to open a single player game to lan anyways, just make sure you have the minecraft_server.jar in the server folder in .minecraft
Alright well, good luck, i've never tried to open a single player game to lan anyways, just make sure you have the minecraft_server.jar in the server folder in .minecraft
If your trying to have them connect to your LAN singleplayer world, they must be using your same internet router, basically using your internet or wifi
If your trying to have them connect to your LAN singleplayer world, they must be using your same internet router, basically using your internet or wifi
On a Mac I think the terminal command is ifconfig (the same as in Linux) to get your IP address. Do ifconfig in a terminal and look for eth0 or wlan0 (eth is Ethernet, wlan is wireless (not sure how it's done on a Mac however so I'm going by Linux as they use many of the same commands (or so I hear))). Then look for "inet addr:" (an example would be "inet addr: 192.168.0.1"). Take the IP address you see and give that to your friends. I'm not sure if OS X has a firewall or anything like that, but if it does you'll need to open port 25565.
You're only trying to connect on LAN right? As in, they're at your house on your router connecting? Cuz if they're trying to connect over the Internet there's a few more things you need to do.
The problem is that "Open to LAN" binds only to the IP that your computer points to for its hostname, which in Linux and OS X is usually a loopback IP to yourself (ie, localhost or another 127... IP). So anyone else trying to connect to that IP would connect to themself, not you.
Binding the port to ANY IP on your computer (like a normal minecraft server) would be easier, but might be considered a security risk if your computer is directly connected to the internet with a public IP (instead of behind a router). But it would be nice if eventually they would add a setting as to what IP to bind it to, so you could bind it to your LAN IP instead of localhost.
There is a work around by changing the IP that your hostname points to in /etc/hosts. But "use at your own risk" (best with static LAN IP) because I do not know if that would break something if you end up with different LAN IP, or connect to a different network or no network. Unix like systems use networking for local things that might not work if your hostname points at an IP address that is not on your box.
On a Mac I think the terminal command is ifconfig (the same as in Linux) to get your IP address. Do ifconfig in a terminal and look for eth0 or wlan0 (eth is Ethernet, wlan is wireless (not sure how it's done on a Mac however so I'm going by Linux as they use many of the same commands (or so I hear))). Then look for "inet addr:" (an example would be "inet addr: 192.168.0.1"). Take the IP address you see and give that to your friends. I'm not sure if OS X has a firewall or anything like that, but if it does you'll need to open port 25565.
You're only trying to connect on LAN right? As in, they're at your house on your router connecting? Cuz if they're trying to connect over the Internet there's a few more things you need to do.
if one of you has a mod and the other doesnt the LAN server wont let the other person join me and my sister tried playing and i had mods and she didnt and i couldnt find her LAN server and she couldnt join mine
I've heard that Minecraft looks for localhost when trying to make a LAN world. However, this only works on Windows, because what the local host is SUPPOSED to be is loopback (127.0.0.1), it's just Windows will take your computer's IP address as local host, rather than loopback.
Unix like systems (such as OS X and Linux) use loopback for localhost (because that's what it's supposed to be), so Minecaft LAN doesn't work on a Unix like system.
So basically it's impossible currently if you're using anything Unix like. You'll have to wait for Mojang to fix it, or run a server.
I can confirm this seems to be a code issue. Instead of Minecraft binding to a local network address (like 192.168.*.* or 10.0.*.*), in Unix based systems it binds to 127.0.0.1. This is a problem for most home-user systems (including mine) where the network configuration doesn't link inbound traffic to point to localhost/127.0.0.1.
The end result? If an application (including MC, currently) binds to 127.0.0.1 on a Unix system, inbound pings/connections can't locate the local/lan server. I tested this thoroughly. I opened the port in my firewall, and port forwarded through my router.
I can host an actual MC server with the real minecraft_server.jar and people can connect, because I can set the address it binds to in server.properties. However, with the client, there is no configuration for this.
I can connect to my friend's publicly-made lan server, but he is using Windows.
Either make the option to change/set the bind-to address, or add code to detect the local network address properly in Linux.
Please help!
Minecraft version: 1.3.1
Operating system: Mac OSX snow leopard
Mods: MCpatcher
I didn't get it.
I gave my IPV4 adress with the special port to my friends but they still can't connect to it
on my local network
which server folder?
But they are using my internet.
On a Mac I think the terminal command is ifconfig (the same as in Linux) to get your IP address. Do ifconfig in a terminal and look for eth0 or wlan0 (eth is Ethernet, wlan is wireless (not sure how it's done on a Mac however so I'm going by Linux as they use many of the same commands (or so I hear))). Then look for "inet addr:" (an example would be "inet addr: 192.168.0.1"). Take the IP address you see and give that to your friends. I'm not sure if OS X has a firewall or anything like that, but if it does you'll need to open port 25565.
You're only trying to connect on LAN right? As in, they're at your house on your router connecting? Cuz if they're trying to connect over the Internet there's a few more things you need to do.
Binding the port to ANY IP on your computer (like a normal minecraft server) would be easier, but might be considered a security risk if your computer is directly connected to the internet with a public IP (instead of behind a router). But it would be nice if eventually they would add a setting as to what IP to bind it to, so you could bind it to your LAN IP instead of localhost.
There is a work around by changing the IP that your hostname points to in /etc/hosts. But "use at your own risk" (best with static LAN IP) because I do not know if that would break something if you end up with different LAN IP, or connect to a different network or no network. Unix like systems use networking for local things that might not work if your hostname points at an IP address that is not on your box.
Yes they are on the same router as me
Unix like systems (such as OS X and Linux) use loopback for localhost (because that's what it's supposed to be), so Minecaft LAN doesn't work on a Unix like system.
So basically it's impossible currently if you're using anything Unix like. You'll have to wait for Mojang to fix it, or run a server.
The end result? If an application (including MC, currently) binds to 127.0.0.1 on a Unix system, inbound pings/connections can't locate the local/lan server. I tested this thoroughly. I opened the port in my firewall, and port forwarded through my router.
I can host an actual MC server with the real minecraft_server.jar and people can connect, because I can set the address it binds to in server.properties. However, with the client, there is no configuration for this.
I can connect to my friend's publicly-made lan server, but he is using Windows.
Either make the option to change/set the bind-to address, or add code to detect the local network address properly in Linux.
Possible code for this lies here.
I wish my friend could connect to me, so
please fix this ASAP.Edit: Nevermind. It seems this bug has already been fixed for 1.4.4. Thanks Mojang!