Before going through these steps, please ensure you've tried to log on using the 'Add Self-Hosted Site' login screen. That login form includes your Username, Password, and Site URL.
If you're running a self-hosted installation of the WordPress.org software, connection issues are typically caused by one of two things:
Please follow those links for more help troubleshooting those issues.