• Sign up for September Mapping Competition! The prize includes Otland Premium time.
  • 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!

Can't Log In Using Local VM. Not Trying to Connect Through Internet. Just Locally.

CoolBuys1290

New Member
Joined
Aug 23, 2018
Messages
39
Best answers
0
Reaction score
4
I'm trying to log in to my Linux server which is hosted on VM. No errors on server but when I log in using account 1234567 and password 1234567, it says wrong account name or password. I changed password to 1234567 in phpmyadmin but still can't log in.
 

Shadow_

Advanced OT User
Joined
Jun 2, 2018
Messages
694
Best answers
24
Reaction score
220
Location
Cairo, Egypt
you should hash it first : 1234567 in hash : 20eabe5d64b0e216796e834f52d61fd0b70332fc
 
OP
C

CoolBuys1290

New Member
Joined
Aug 23, 2018
Messages
39
Best answers
0
Reaction score
4
I changed hashing to SHA1 and edited my SHA password for 1234567. I can load character list now, but can't log in. It is my VM firewall that's preventing this?
 

Ralumbi

apt install nubmod
Content Editor
Premium User
Joined
Jun 8, 2011
Messages
169
Best answers
6
Reaction score
57
Location
Netherlands
Inside the VM program you will need to forward the ports as well you can find this under settings > network. Advice is to also use bridged adapter instead of nat so you get a similar IP as you have on your main desktop. This makes it happen that other people can join your server while hosting it on a VM. Just make sure you forward the private IP of your VM instead of your main computers private IP.
 
OP
C

CoolBuys1290

New Member
Joined
Aug 23, 2018
Messages
39
Best answers
0
Reaction score
4
Do I check the box for Replicate physical network connection state?
Post automatically merged:

which is under Bridge mode
Post automatically merged:

I can log in now. Thank you. But how do I have friends connect to the server? Something involving bridge mode and possibly checking the box, Replicate physical network connection state? Also I'm sure I have to edit config.lua. I've forwarded ports 80, 7171, and 7172 for my physical router. Please help me get my server accessible from the internet.

Thank you.
 
Last edited:

Ralumbi

apt install nubmod
Content Editor
Premium User
Joined
Jun 8, 2011
Messages
169
Best answers
6
Reaction score
57
Location
Netherlands
Do I check the box for Replicate physical network connection state?
Post automatically merged:

which is under Bridge mode
Post automatically merged:

I can log in now. Thank you. But how do I have friends connect to the server? Something involving bridge mode and possibly checking the box, Replicate physical network connection state? Also I'm sure I have to edit config.lua. I've forwarded ports 80, 7171, and 7172 for my physical router. Please help me get my server accessible from the internet.

Thank you.
Inside your VM you check the IP-Address, this IP-Address you need to forward the ports to in your router. Then in your config.lua you need to put your public IP-Address and not your private one which looks similar to: 192.168.x.x if you did those steps everyone can connect and to make sure other people can connect. Instead of using your local/private IP-Address use your public IP-Address to connect to your server yourself.
 
Top