the problem was with the server. Not sure why, there was indications of the problem anywhere.
However I restarted the server and tested it, it should work now. I haven't been at home at all yesterday so couldn't do anything, sorry for the inconvinience