Jump to content

Socket won't connect


Recommended Posts

Hi everyone !

First of all, I apologize for my bad english !

Sorry to bothered you, but, I have an issue and I can't fix it by myself, I need your help :) . When I launch my server, and I run the starting script, an error occur which is "connexion refused". So, I checked the syserr from my db and there is nothing:

SYSERR: Aug  5 12:14:56 :: pid_init: 
Start of pid: 2648

But, on the core and on the game99, there are the same error about the socket. It can't connect :

SYSERR: Aug  5 12:22:19.28240 :: socket_connect: HOST localhost:16000, could not connect.

As you can see, I change the DB_PORT on my config files from 15000 to 16000 (I've seen in other thread someone who solve the problem by changing this port). But, I change only in db/game99/channel1 (because for now, I run only one channel). And now, I can't figured out why my server won't start. So I need your help :)

Here is my config files:

SQL_ACCOUNT = "localhost account mt2 mt2!@# 0"
SQL_PLAYER = "localhost player mt2 mt2!@# 0"
SQL_COMMON = "localhost common mt2 mt2!@# 0"
SQL_HOTBACKUP = "localhost hotbackup mt2 mt2!@# 0"

TABLE_POSTFIX = " "

BIND_PORT               = 16000

game99:

DB_PORT: 16000
DB_ADDR: localhost
MAP_ALLOW: 81 100 103 105 110 111 112 113 181 182 183 190 191 192
TABLE_POSTFIX:
PASSES_PER_SEC: 25
SAVE_EVENT_SECOND_CYCLE: 180
PING_EVENT_SECOND_CYCLE: 180
PLAYER_SQL: localhost mt2 mt2!@# player
COMMON_SQL: localhost mt2 mt2!@# common
LOG_SQL: localhost mt2 mt2!@# log

Core from the channel 1:

DB_PORT: 16000
DB_ADDR: localhost
MAP_ALLOW: 1 2 3 4 5 6
TABLE_POSTFIX:
PASSES_PER_SEC: 25
SAVE_EVENT_SECOND_CYCLE: 180
PING_EVENT_SECOND_CYCLE: 180
PLAYER_SQL: localhost mt2 mt2!@# player
COMMON_SQL: localhost mt2 mt2!@# common
LOG_SQL: localhost mt2 mt2!@# log

Thank you for those who take the time to read despite my huge english :P 

Link to comment
Share on other sites

  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Popular Days

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

Announcements



×
×
  • Create New...

Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.