Unable to connect database

hi,
I’m trying to connect to postgressql but the connection attempt fails (version 02.52). however, I succeed to connect to another postgres DB ? I have to mention that from another computer I succeeded to connect to that DB (version 02.42). what could be the problem?