Earthlink IMAP does not sync to Mailspring

Hello,
I am trying to sync earthlink mail via IMAP through Mailspring on Debian 10. It gives me this error: Connection Error - Unable to connect to the server / port you provided. (IMAP). How do I fix this?