Email and Webmail

Why can I not connect to the mail server?

Updated January 2026 12,265 views 3 min read
Email & Webmail | Updated January 2026

If your email client cannot connect to the mail server, the issue is usually one of four things: wrong server settings, wrong port, a firewall blocking the connection, or your IP has been temporarily blocked due to failed login attempts. Here is how to diagnose and fix each one.

01. Check Your Server Settings

Verify these settings in your email client:

  • Incoming server: mail.yourdomain.com
  • Outgoing server (SMTP): mail.yourdomain.com
  • Username: Your full email address (e.g., [email protected])
  • Password: The password set for this email account in cPanel

The most common mistake is using just the username portion (like "john") instead of the full email address. See What Are My Mail Server Names for complete settings.

02. Check Ports and Encryption

The port and encryption type must match. Using SSL on a non-SSL port (or vice versa) will cause the connection to fail silently:

  • IMAP: Port 993 with SSL/TLS, or port 143 with STARTTLS
  • POP3: Port 995 with SSL/TLS, or port 110 with STARTTLS
  • SMTP: Port 465 with SSL/TLS, or port 587 with STARTTLS

Do not use port 25 for outgoing mail. Many ISPs block it, and it does not support encryption.

03. Check for Firewall Blocks

If you entered your password incorrectly several times, the server firewall may have temporarily blocked your IP address. This is a brute-force protection measure.

Use our Firewall Unblock tool to check and unblock your IP. After unblocking, make sure your email client has the correct password before it tries to connect again, or it will get blocked again immediately.

Tip

If your email client is configured with the wrong password, it may try to connect every few minutes automatically. Each failed attempt counts toward the firewall block threshold. Fix the password in your email client before unblocking your IP.

04. Test With Webmail

Webmail bypasses your email client and network entirely. If webmail works at my.ultrawebhosting.com:2096:

  • The server is working normally
  • Your email account and password are valid
  • The problem is in your email client settings, your local network, or your ISP

If webmail also fails, reset your password in cPanel > Email > Email Accounts > Manage.

05. ISP Port Blocking

Some internet service providers block email ports to prevent spam. If you cannot connect on the standard ports, try these alternatives:

  • SMTP port 587 instead of 465 (with STARTTLS)
  • SMTP port 26 as a last resort (available on Ultra Web Hosting servers)

If you are on a corporate or school network, their firewall may block email ports entirely. Try connecting from a different network (like your phone's hotspot) to confirm.

Still Cannot Connect?

Open a ticket with the exact error message from your email client and a screenshot of your account settings. We will check the server side.

Open a Support Ticket

Quick Recap

  1. Test webmail first - If it works, the server is fine
  2. Verify server, port, and encryption match - SSL on 993/995/465, STARTTLS on 143/110/587
  3. Username must be your full email address
  4. Check for IP blocks - Use the firewall unblock tool after failed login attempts
  5. Try port 587 or 26 if your ISP blocks standard email ports

Fixing email connection issues · Last updated March 2026 · Browse all Email articles

Share: X in Reddit f Email
  • 618 Users Found This Useful

Was this answer helpful?

Related Articles

Receiving reported error (0x80042108)

Email & Webmail | Updated March 2026 The Outlook error 0x80042108 means "Outlook is...

What URL should my users go to to get their webmail - I don't want them to log in to the control panel just to get their email

Email & Webmail | Updated January 2026 You can access webmail for your hosting account...

Unable to log into Webmail

Email & Webmail | Updated January 2026 If you cannot log into webmail at...

When I log into webmail I receive a 404 error

Email & Webmail | Updated January 2026 If you receive a 404 error when trying to access...

Folders in Roundcube Are Missing

Email & Webmail | Updated March 2026 If you log into Roundcube Webmail and your Sent,...



Save 30% on web hosting - Use coupon code Hosting30