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

Connection refused.

kelipto

New Member
Joined
Mar 2, 2020
Messages
8
Reaction score
1
Hi, I have problem with my server. I cannot log into the game on other computer than mine in LAN. I can access the website using the IP address of computer that is hosting the server but cannot log with use of Tibia Client. The message that Im receiving on other PC is "Connection Refused".
Server that Im running is the OtservBR Global and Im using their client 12.
I have been trying to change the loginWebService=http://127.0.0.1/login.php to the IP of computer that hosts the server but when Im changing this localhost IP the client's application turns into app that when is open is showing the error 0xc0000005. I wonder if there is someone on this forum who had similar problem and know how to fix it. Im looking forward for some guidance :)

bump
 
What AAC (website) are you using?
Do you get connection refused before, or after character list?

127.0.0.1 is the loopback IP address, this in the network world means "yourself".
So if you want to access another computer in your network, you need to find the unique local IP of that computer, and access that instead.

In windows CMD, you can type in ipconfig to identify your IPv4 local address. In the Linux terminal, ifconfig usually works alright.

This address can be used as a temporarily identifyer for a host in your LAN. You can also enter your router and configure a permanent address for a host to avoid the IP changing everytime your router resets itself.

If you want to expose your server to the internet, this IP address is also used to tell your router which machine to redirect network traffic towards for a given port range when configuring port forwarding.
 
Last edited:
I have the same problem. My port 80 was blocked, I spent the whole day trying to open it up, then I tried to open de 8090 port and worked fine. Solved my problem. I tested with my notebook using another wifi and the site was online. Checked all the ports online, they're open. But when I try to play, the 'connection refused' its showed just before character list. Something like a "connection timed out".

Before I changed the apache 80 to 8090, it was working fine on localhost but was not online for everyone. I think its something with the change of 80 to 8090, but I HAVE TO USE 8090. Where else do I have to change de 80 to 8090? login. php ?
 
I have the same problem. My port 80 was blocked, I spent the whole day trying to open it up, then I tried to open de 8090 port and worked fine. Solved my problem. I tested with my notebook using another wifi and the site was online. Checked all the ports online, they're open. But when I try to play, the 'connection refused' its showed just before character list. Something like a "connection timed out".

Before I changed the apache 80 to 8090, it was working fine on localhost but was not online for everyone. I think its something with the change of 80 to 8090, but I HAVE TO USE 8090. Where else do I have to change de 80 to 8090? login. php ?
loginWebService=http://127.0.0.1:8090/login.php
 
It worked, thanks. Its almost 100% done. Now my notebook goes to character list, login normally. But my host PC can't connect to the gameserver. (Stay in character list forever) Reason: I changed the Global IP from config.lua to my "online ip Adress". People can login normally, but my 127.0.0.1:8090 or localhost:8090 doesnt work anymore.

I edited my client with notepad and nothing happened.
Tried:

loginWebService=http://127.0.0.1/login.php
loginWebService=http://127.0.0.1:8090/login.php
loginWebService=http://192.168.1.70:8090/login.php (My IPV4)
loginWebService=http://"myonlineip":8090/login.php

If I return the config.lua to the "127.0.0.1", then my PC connects normally, but not the others anymore.
 
can you access your website by using the http://"myonlineip":8090/login.php ?

Definitely not. It goes the same with the client... Stay loading forever and get timed out.
Unlike the localhost:8090/login.php that loads in browser, even with errors, but it returns something so it works.

I found a way to connect my website on host: localhost:8090 on browser
but when I do that with the client (usign the same logic), only the character list appears and then goes timed out too.

I'm not an expert, but I'm assuming this is some forgotten detail. :/
 
you first need to find out how to make your site work with your global/online IP, once you can get it to work and can access your login.php on browser without any error, then you can edit your client and it will work
 
Try this:

I had some kind of issues opening ports for site and tibia. Make sure your site is running on 8090, but your server config.lua is running on 7171 and 7172
 
Back
Top