• 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!

Linux Portfarwarding, virtual machine, debian.

ohman

Member
Joined
Oct 24, 2008
Messages
294
Reaction score
8
Location
Sweden
Hi! I'm trying to open a test server on a virtual machine on my computer. I'm using Oracle VM VirtualBox. I have installed Debian. I can get the website working, but not the server. I dont know what I should do to get port 7171/7272 open. In port checker I only have ports 22,80,111 opened. I have opened the ports in my router.

Im using "Bridged network" in VM settings. Its the only way to get the website working. I have tried to use NAT and opened ports inside VM but didnt work.

Thanks
 
Now I use NAT instead of Bridged connection. I have opened all ports and the website work.

But the server.. I can only see the charlist. Port 7172 is opened just like 7171. Dont know what the problem is, anyone?

On vapus.net/canIhost
1.png
Port 80 (You can run a website)

1.png
Port 7171 (People can see their character list)

1.png
Port 7172 (People can join your server)
 
If it's you trying to connect, your network may not allow you to connect on your own network with your global ip use 127.0.0.1, and try to connect globally from somewhere else
 
Ok, But I cant connect from my local ip (127.0.0.1). Idk why, but I'll get a friend to try to loggin and see if that work.

AND: If I use my global ip in config.lua I cant logging, the server is "offline" on website. But If I use the ip of my virtual machine (10.0.2.15) the server is online on website and I can get my charlist opened. So... ?

My friend had the same problem as me, he got charlist opened but could not loggin. So... why is this happening.

"solved" it a bit... I can now acces the server from my computer. With my global IP. Everyone can acces the website. But they still cant login. But its enough for me atm, I just need the it to test stuff on.
 
Last edited by a moderator:
Can you log in when you set global ip for config.lua? if no then use NAT and use network settings in virtualbox to forward ports, then allow them in your firewall

Can players outside your network log in? Make sure you're using global ip in config.lua, and both ports 7171 and 7172 are open. if that still does not work and you are using range port forwarding, try forwarding each port individually.
 
If you don't use your global ip (www.whatismyip.com) in config.lua, people can only see the characterlist but not login.
What exactly are the problems with that? If you can't login, try to use your local ip instead of 127.0.0.1.
 
21 and 22 are for FTP, well 21 is, idk why 22?

But anyways, as Limos said, you must use global ip, but with NAT and forward, for you to log in you use 127.0.0.1, others use global ip
 
Back
Top