Just a reminder, when you have connection failures trying to connect to localhost, while everything else seems fine. First thing is try 127.0.0.1 because sometimes the application does not know how to resolve localhost.