Fixed error messages for connection refused