I've found the prob.In my postgresql.conf file the default port is setup to 5433 instead of5432 as previously...
sorry for the noise.