FTP issues within WordPress

Why was I getting “Failed to connect to FTP Server” messages when trying to upgrade a plugin through the backend FTP interface? Well, apparently it wasn’t liking the ftp.domain.com for hostname. So I used “localhost”, and it worked!