Connection Refused: 10061 (can load char list but cant login)

power abuse

New Member
Joined
Jul 9, 2007
Messages
15
Reaction score
0
Hello,
i just compiled my OT, set up mysql and now my friends are trying to connect to my server
When im connection from my computer on 127.0.0.1 I can connect to game and play..

but when my friends are connecting to my global IP, they get error Connection Refused: 10061 - Server is offline.. however, THEY CAN LOAD CHAR LIST

THis happens when they try to connect to game, so I guess there shouldnt be problem with firewall

in config lue IS my ip

worldId = 0
ip = "xx.101.153.194"
bindOnlyConfiguredIpAddress = "no"
loginPort = 7171
gamePort = 7172
adminPort = 7171
statusPort = 7171

all ports are forwarded (7171;7172;80;3306)
netstat
tcp 0 0 0.0.0.0:7171 0.0.0.0:* LISTEN -
tcp 0 0 0.0.0.0:7172 0.0.0.0:* LISTEN -
tcp 0 0 127.0.0.1:3306 0.0.0.0:* LISTEN -
tcp 0 0 127.0.0.1:631 0.0.0.0:* LISTEN -
tcp6 0 0 :::80 :::* LISTEN


Anyone can help????????
 
OP
P

power abuse

New Member
Joined
Jul 9, 2007
Messages
15
Reaction score
0
[email protected]:~# ufw status
Status: inactive

If it was firewall, how come they can connect to login server but not game server?

But I have a question..
Where should my mysql server listen on? localhost only? tcp 0 0 127.0.0.1:3306 0.0.0.0:* LISTEN -

mySQL initially only allows connections from the localhost (127.0.0.1). We’ll need to remove that restriction if you wish to make it accessible to everyone on the internet. Open the file /etc/mysql/my.cnf
do I need my mysql to listen for everyone or only listen on localhost?
 

Reiso

New Member
Joined
Jun 12, 2009
Messages
6
Reaction score
0
Mhm, you must open port 7172 if you haven't done that.
 

drax skylon

o.O DrAx O.o
Joined
Sep 9, 2008
Messages
225
Reaction score
3
data/XML/admin.xml

<?xml version="1.0" encoding="UTF-8"?>
<otadmin enabled="0">
<security onlylocalhost="0" maxconnections="2" loginrequired="1" loginpassword="YOURPASSWORDHERE"/>
<encryption required="0">
<!-- key type="RSA1024XTEA" file="rsakey.private"/ -->
</encryption>
</otadmin>
Tell me if it work.
 
Top