on windows my brother can host a lan game but im on ubuntu 12.04 openjdk6 and i cant it says refuses connection heres the error from my wifes computer when connecting to my computer via lan
I also had this problem. After checking the log you posted, what is happening is that on Ubuntu Minecraft is binding the server's IP to your localhost IP, 127.0.1.1.
To fix this, from terminal type "sudo gedit /etc/hosts" without the quotes.
Change the line that says "127.0.1.1 (your computer's name)" to
"(your local network IP address, ie: 192.168.0.10) (your computer's name)".
For example, mine reads as "192.168.0.2 triston-linux".
Also, if the local network IP of your computer is not set as a static IP on your router, you may want to set it as such, otherwise you'll have to edit the hosts file every time your local network IP changes.
hey i had the same problem but i already configure the file to take my local ip but it makes the other client to crash while connection is taken boot are using ubuntu i am using ubuntu 12.04 apartly with sambia and my sis is using the 10.04
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
http://paste.ubuntu.com/1124751/
And what is crash log from?
To fix this, from terminal type "sudo gedit /etc/hosts" without the quotes.
Change the line that says "127.0.1.1 (your computer's name)" to
"(your local network IP address, ie: 192.168.0.10) (your computer's name)".
For example, mine reads as "192.168.0.2 triston-linux".
Also, if the local network IP of your computer is not set as a static IP on your router, you may want to set it as such, otherwise you'll have to edit the hosts file every time your local network IP changes.
Hope this helps!