Jump to content

[solved] mangosd.exe esoteric error [zero]


Recommended Posts

Posted

When running mangosd.exe; After a bunch of good lines I get the error:

failed to open acceptor, check if the port is free

failed to start network

halting process

heres the likely suspect : I'm using the same IP as the SQL server to attempt to run the mangos daemon - not something that would seem very feasible under the context of "starting a network" as the error output might suggest...

however; It's mostly impossible for me to free the server port (since that would involve shutting down the only other process tied to the server port; the SQL server)

I am a code monkey long before a network protocol technician; so I apologize if the correct course of action seems obvious

Posted

So following the revelation that I need to host the realm/characters/mangos DB's on individual ports (im 80% sure this is the true because all the ports I'm attempting to connect with have been forwarded on the network already; and I have ran the mangos daemon w/o any firewall and still get the same error in my previous post+ google says multiple processes over TCP cant usually use same port ^^ ); I've run in to trouble trying to "add connections" with different sequential ports to the DB: whenever i choose localhost as the hostname and the initial port+1 as the "next" connection to create in mySQL workbench; I get an error code when testing the connection that I later found to indicate that the connection was refused...

even some confirmation that individual ports are required per DB would be nice; as its never any fun troubleshooting something that isn't even necessary ><.

Posted

You don't need different ports for each database you have. This isn't even possible without different database instances.

Anyway, since you get access to your databases (doesn't matter how many databases you have) through a DBMS (Database Management System), you only need one port for that. The port where the DBMS is listening.

For the setup with Database, mangosd and realmd you need three different ports. The following ports are the default ports of these services and should usually work without any conflicts:

  • MySQL: 3306
  • mangosd: 8085
  • realmd: 3724

So if any other service have taken these ports already, than you have to change them. The ports for mangosd and realmd can be changed in their respective config files. There is also a port set for mangosd in the realmlist database table in your realmd database.

The port for mysql can be changed in the my.ini file within the root directory of MySQL. If you change the port of MySQL you have to inform mangosd and realmd about the new port (in the config files).

Posted

Ahh TY Hikari thats the ticket ; I was under the false impression that the sections (realmd/mangos) needed their own ports set externally (since mySQL workbench has all the appearance of being able to split connections to a single DB service in that fashion><) didn't know the almighty config file could handle the whole task; thought it merely "lead the traffic" to the already set separate ports.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

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. Privacy Policy Terms of Use