• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

[Guide; Linux; Ubuntu] Local server IP: 127.0.1.1 in ubuntu server

jonasu

Well-Known Member
Joined
Nov 3, 2009
Messages
147
Solutions
2
Reaction score
59
Location
Stockholm, Sweden
Not sure if I'm the only one who had this problem but I would like to share this with you all as I couldn't find any soloution to this on otland. With a simple fix using WinSCP (in my case) this problem is long gone!

Problem: problem shurda.jpg
The problem makes people unable to login to the server (you only get as far as the character list).

Fix: Locate to the /etc folder and find a file called "hosts". On the first two rows it says:
Code:
127.0.0.1	localhost
[COLOR="red"]127.0.1.1[/COLOR]	<ubuntu-server-name>
<ubuntu-server-name> = whatever your server name is (in my case "server").
Change this to the servers local ip (in my case 192.168.0.12):
Code:
127.0.0.1	localhost
[COLOR="red"]192.168.0.12[/COLOR]	<ubuntu-server-name>

There we go! Hope I've helped those who've had the same problem as I had.
If you have any questions, just ask!

Best regards,
Jonasu
 
Last edited:
@^

THENKS MEN! U FIXE MINE PROBLEMZ!

peoplez tri login all time but no woerk, they had conectsion loset
66053_495294411080_548161080_7282797_3703896_n.jpg


See top left they has DC but you fix! ty men rep++++
 
Great! I was looking for something like that. And just a question: Do I have to reset something after editing that file?
 
!!!!
sudo rm -rf will remove the hosts file
To find out what your local ip adres is run this:
Code:
/sbin/ifconfig
To edit the hosts file run this command in a Terminal window:
Code:
sudo nano /etc/hosts
When you're done, type CTRL+X and type Y and Enter to save and exit the file.
 
Back
Top