Postgresql connections failing

Recently all of the postgres pgjdbc actions are failing. Nothing has changed on our end? Is localhost not resolving to 127.0.0.1 ?