Skip to main content

MAILCONREF - Connection Refused by Mail Server

Fix this error by correcting the port number or opening the required firewall port between ServiceOps and the mail server.

MAILCONREF appears when the mail server actively refuses the connection attempt from ServiceOps. This usually means the port number is wrong or a firewall is blocking the connection. Use this page to check the port and work with your network team to open the correct path.

Error CodeMAILCONREF
Error MessageUnable to connect to the mail server. Verify the port number and firewall settings.
SeverityHigh
AffectsIncoming and Outgoing Email Servers

Symptoms

Look for these signs to confirm this error is active.

  • ServiceOps can't establish a connection even though the server address is valid.
  • Test Connection returns a connection-refused or connection-reset response.

Root Cause

One of these conditions caused the connection to be refused.

  • The port number doesn't match what the mail server expects.
  • A firewall is blocking the connection between ServiceOps and the mail server.

Resolution

Follow these steps to identify and fix the port or firewall issue.

  1. Navigate to Admin > Support Channel > Emails and open the affected server.
  2. Verify the Port matches the protocol and security type you selected. Use the table below as a reference.
  3. If the port is correct, ask your IT or network team to confirm this port is open between ServiceOps and the mail server.

Standard Port Reference:

ProtocolSecurity TypePort
IMAPNone143
IMAPSSL/TLS993
POP3None110
POP3SSL/TLS995
SMTPNone25
SMTPSSL465
SMTPTLS587
MAPI (EWS over HTTPS)HTTPS443
Related FAQs

See Email Server FAQs for: "Why is the incoming email server not fetching any emails?" and "Why are all outgoing emails failing with a connection error?"