Jump to content
×
×
  • Create New...
  • 0

[HELP] Connection refused


123fbalp123fb

Question

My game was going well. I upgraded the "source" file to gcc9. Successfully created "game" and "db". But it gave such an error while opening channels.

 

ch1 syser

SYSERR: Sep 19 11:15:58 :: pid_init:
Start of pid: 885

SYSERR: Sep 19 11:15:58 :: socket_connect: HOST localhost:15000, could not connect.
SYSERR: Sep 19 11:16:01 :: socket_connect: HOST localhost:15000, could not connect.
SYSERR: Sep 19 11:16:04 :: socket_connect: HOST localhost:15000, could not connect.
SYSERR: Sep 19 11:16:07 :: socket_connect: HOST localhost:15000, could not connect.
SYSERR: Sep 19 11:16:10 :: socket_connect: HOST localhost:15000, could not connect.
SYSERR: Sep 19 11:16:13 :: socket_connect: HOST localhost:15000, could not connect.
SYSERR: Sep 19 11:16:16 :: socket_connect: HOST localhost:15000, could not connect.

 

CH1 syslog


Sep 19 11:25:12 :: SYSTEM: Trying to connect to localhost:15000
SYSERR: Sep 19 11:25:12 :: socket_connect: HOST localhost:15000, could not connect.
Sep 19 11:25:12 :: CLIENT_DESC [db_clientdesc] trying DBPacket() while not connected
Sep 19 11:25:13 :: CLIENT_DESC [db_clientdesc] trying DBPacket() while not connected
SYSERR: Sep 19 11:25:14 :: hupsig: SIGHUP, SIGINT, SIGTERM signal has been received. shutting down.
Sep 19 11:25:14 :: <shutdown> Starting...
Sep 19 11:25:14 :: <shutdown> Destroying CArenaManager...
Sep 19 11:25:14 :: ARENA: ArenaMap will be destroy. mapIndex(112)
Sep 19 11:25:14 :: ARENA: End Duel PID_A(0) vs PID_B(0)
Sep 19 11:25:14 :: ARENA: End Duel PID_A(0) vs PID_B(0)
Sep 19 11:25:14 :: ARENA: End Duel PID_A(0) vs PID_B(0)
Sep 19 11:25:14 :: ARENA: End Duel PID_A(0) vs PID_B(0)
Sep 19 11:25:14 :: <shutdown> Destroying COXEventManager...
Sep 19 11:25:14 :: CLIENT_DESC [db_clientdesc] trying DBPacket() while not connected
Sep 19 11:25:14 :: <shutdown> Disabling signal timer...
Sep 19 11:25:14 :: <shutdown> Shutting down CHARACTER_MANAGER...
Sep 19 11:25:14 :: <shutdown> Shutting down ITEM_MANAGER...
Sep 19 11:25:14 :: <shutdown> Flushing db_clientdesc...
Sep 19 11:25:14 :: <shutdown> Flushing p2p_manager...
Sep 19 11:25:14 :: <shutdown> Destroying CShopManager...
Sep 19 11:25:14 :: <shutdown> Destroying CHARACTER_MANAGER...
Sep 19 11:25:14 :: <shutdown> Destroying ITEM_MANAGER...
Sep 19 11:25:14 :: <shutdown> Destroying DESC_MANAGER...
Sep 19 11:25:14 :: <shutdown> Destroying quest::CQuestManager...
Sep 19 11:25:14 :: <shutdown> Destroying building::CManager...
Sep 19 11:25:14 :: <shutdown> Flushing TrafficProfiler...
Sep 19 11:25:14 :: <shutdown> Canceling ReloadSpamEvent...
Sep 19 11:25:14 :: <shutdown> regen_free()...
Sep 19 11:25:14 :: <shutdown> Closing sockets...
Sep 19 11:25:14 :: <shutdown> fdwatch_delete()...
Sep 19 11:25:14 :: <shutdown> event_destroy()...
Sep 19 11:25:14 :: <shutdown> CTextFileLoader::DestroySystem()...
Sep 19 11:25:14 :: <shutdown> thecore_destroy()...
SYSERR: Sep 19 11:25:14 :: pid_deinit:
End of pid

DB, syser and not giving syslog

and the strange thing is that when I edit the item_name.txt item_proto.txt in the db, the item_proto does not change in mysql

Link to comment
Share on other sites

  • Answers 14
  • Created
  • Last Reply

Top Posters For This Question

14 answers to this question

Recommended Posts

  • 0
41 minutes ago, 123fbalp123fb said:

My game was going well. I upgraded the "source" file to gcc9. Successfully created "game" and "db". But it gave such an error while opening channels.

 

ch1 syser

SYSERR: Sep 19 11:15:58 :: pid_init:
Start of pid: 885

SYSERR: Sep 19 11:15:58 :: socket_connect: HOST localhost:15000, could not connect.
SYSERR: Sep 19 11:16:01 :: socket_connect: HOST localhost:15000, could not connect.
SYSERR: Sep 19 11:16:04 :: socket_connect: HOST localhost:15000, could not connect.
SYSERR: Sep 19 11:16:07 :: socket_connect: HOST localhost:15000, could not connect.
SYSERR: Sep 19 11:16:10 :: socket_connect: HOST localhost:15000, could not connect.
SYSERR: Sep 19 11:16:13 :: socket_connect: HOST localhost:15000, could not connect.
SYSERR: Sep 19 11:16:16 :: socket_connect: HOST localhost:15000, could not connect.

 

CH1 syslog


Sep 19 11:25:12 :: SYSTEM: Trying to connect to localhost:15000
SYSERR: Sep 19 11:25:12 :: socket_connect: HOST localhost:15000, could not connect.
Sep 19 11:25:12 :: CLIENT_DESC [db_clientdesc] trying DBPacket() while not connected
Sep 19 11:25:13 :: CLIENT_DESC [db_clientdesc] trying DBPacket() while not connected
SYSERR: Sep 19 11:25:14 :: hupsig: SIGHUP, SIGINT, SIGTERM signal has been received. shutting down.
Sep 19 11:25:14 :: <shutdown> Starting...
Sep 19 11:25:14 :: <shutdown> Destroying CArenaManager...
Sep 19 11:25:14 :: ARENA: ArenaMap will be destroy. mapIndex(112)
Sep 19 11:25:14 :: ARENA: End Duel PID_A(0) vs PID_B(0)
Sep 19 11:25:14 :: ARENA: End Duel PID_A(0) vs PID_B(0)
Sep 19 11:25:14 :: ARENA: End Duel PID_A(0) vs PID_B(0)
Sep 19 11:25:14 :: ARENA: End Duel PID_A(0) vs PID_B(0)
Sep 19 11:25:14 :: <shutdown> Destroying COXEventManager...
Sep 19 11:25:14 :: CLIENT_DESC [db_clientdesc] trying DBPacket() while not connected
Sep 19 11:25:14 :: <shutdown> Disabling signal timer...
Sep 19 11:25:14 :: <shutdown> Shutting down CHARACTER_MANAGER...
Sep 19 11:25:14 :: <shutdown> Shutting down ITEM_MANAGER...
Sep 19 11:25:14 :: <shutdown> Flushing db_clientdesc...
Sep 19 11:25:14 :: <shutdown> Flushing p2p_manager...
Sep 19 11:25:14 :: <shutdown> Destroying CShopManager...
Sep 19 11:25:14 :: <shutdown> Destroying CHARACTER_MANAGER...
Sep 19 11:25:14 :: <shutdown> Destroying ITEM_MANAGER...
Sep 19 11:25:14 :: <shutdown> Destroying DESC_MANAGER...
Sep 19 11:25:14 :: <shutdown> Destroying quest::CQuestManager...
Sep 19 11:25:14 :: <shutdown> Destroying building::CManager...
Sep 19 11:25:14 :: <shutdown> Flushing TrafficProfiler...
Sep 19 11:25:14 :: <shutdown> Canceling ReloadSpamEvent...
Sep 19 11:25:14 :: <shutdown> regen_free()...
Sep 19 11:25:14 :: <shutdown> Closing sockets...
Sep 19 11:25:14 :: <shutdown> fdwatch_delete()...
Sep 19 11:25:14 :: <shutdown> event_destroy()...
Sep 19 11:25:14 :: <shutdown> CTextFileLoader::DestroySystem()...
Sep 19 11:25:14 :: <shutdown> thecore_destroy()...
SYSERR: Sep 19 11:25:14 :: pid_deinit:
End of pid

DB, syser and not giving syslog

and the strange thing is that when I edit the item_name.txt item_proto.txt in the db, the item_proto does not change in mysql

 

If you compiled the game and it gave you a connection error, the safest thing is that you have to change the ip in the config.cpp

 

		In the config.cpp file look for this line "The ip can vary depending on the files, but it almost always starts with 192.

		if (!strncmp(netip, "192.168", 7)) // ignore if address is starting with 192
		{
      
		Then replace the ip with 999.999 "Example"

		if (!strncmp(netip, "999.999", 7)) // ignore if address is starting with 192
		{

 

Save and compile again. This should solve your problem, I hope I helped you.

Link to comment
Share on other sites

  • 0
6 minutes ago, Developer1321 said:

 

If you compiled the game and it gave you a connection error, the safest thing is that you have to change the ip in the config.cpp

 

		In the config.cpp file look for this line "The ip can vary depending on the files, but it almost always starts with 192.

		if (!strncmp(netip, "192.168", 7)) // ignore if address is starting with 192
		{
      
		Then replace the ip with 999.999 "Example"

		if (!strncmp(netip, "999.999", 7)) // ignore if address is starting with 192
		{

 

Save and compile again. This should solve your problem, I hope I helped you.

 

The relevant line in my config.cpp;

		if (!strncmp(netip, "111.111", 7)) // ignore if address is starting with 192

this (netip, "999,999", 7) I will try as

57 minutes ago, Developer1321 said:

 

If you compiled the game and it gave you a connection error, the safest thing is that you have to change the ip in the config.cpp

 

		In the config.cpp file look for this line "The ip can vary depending on the files, but it almost always starts with 192.

		if (!strncmp(netip, "192.168", 7)) // ignore if address is starting with 192
		{
      
		Then replace the ip with 999.999 "Example"

		if (!strncmp(netip, "999.999", 7)) // ignore if address is starting with 192
		{

 

Save and compile again. This should solve your problem, I hope I helped you.

Unfortunately it still gives the same error. No change 😞

spacer.png

Edited by Metin2 Dev
Core X - External 2 Internal
Link to comment
Share on other sites

  • 0
14 minutes ago, Developer1321 said:

Şans eseri db'den geçen bir sistem koyduğunuzda?

No, I didn't add system. just "extern" "cryptopp",
I did the "lzo" library upgrade (gcc9). My game was running fine on freebds9.2. After gcc9 upgrade, I switched to Freebds 11.4 and it gave this error. I didn't add any extra system plugins

I've looked at other threads on the forum; for example
It says change port 15000. I've tried. It didn't happen.
I added BIND_IP and PUBLIC_IP to the CONFIGs and it still didn't work.

Edited by 123fbalp123fb
Link to comment
Share on other sites

  • 0

Hey. I did the build process with Freebds 13.0 and opened the game. Gene gave "connection-refused" error. this time db.core like this;

 

spacer.png

Edited by Metin2 Dev
Core X - External 2 Internal
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.


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.