sorry for my late reaction but i wasnt described on this topic
you can easy find the exact ports if you open config.ini and the other config files from account server/message server and npc server (where you put your hamaci ip in)
and those ports need to have acces to the firewall
the 1 i know is 5816 and it is the port of the game server
then 9958 was account server (can be wrong to )
so the best you can do is checking your ini files and open all those ports
i hope this helped you a little and sorry again for my late response
Greets From The Crasher