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 Code | MAILCONREF |
| Error Message | Unable to connect to the mail server. Verify the port number and firewall settings. |
| Severity | High |
| Affects | Incoming 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.
- Navigate to Admin > Support Channel > Emails and open the affected server.
- Verify the Port matches the protocol and security type you selected. Use the table below as a reference.
- 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:
| Protocol | Security Type | Port |
|---|---|---|
| IMAP | None | 143 |
| IMAP | SSL/TLS | 993 |
| POP3 | None | 110 |
| POP3 | SSL/TLS | 995 |
| SMTP | None | 25 |
| SMTP | SSL | 465 |
| SMTP | TLS | 587 |
| MAPI (EWS over HTTPS) | HTTPS | 443 |
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?"