crossfire fail to connect to the server ¬¬

hey guys, i have a problem with my crossfire... when im going to login, at the right momment of it there appears an error... it says "failed to connect to the server" i dont know why does it appear... and the only one solution that i know it to format my pc... do you guys can help me to find a better solution! please! thank you for your attention