Well, I resolved the problem, but it was only my mistake .
It could not connect to the realm server because i left in the configuration file (arcemu-relms.cons) an internal ip address (kind of 192.168.x.x) while i was trying to connect through the internet....
So for anyone who finds a similar problem, check the realm address (and post the config files )



Thank you very much anyway for the patience