Verify your host (domain or server IP), port (21 for FTP, 22 for SFTP), credentials, and firewall settings.