MAILCONREF - Connection Refused by Mail Server
| Error Code | MAILCONREF |
| Error Message | Unable to connect to the mail server. Please verify the port number and firewall settings. |
| Severity | High |
| Affects | Incoming and Outgoing Email Servers |
Symptoms
- 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
- The port number doesn't match what the mail server expects.
- A firewall is blocking the connection between ServiceOps and the mail server.
Resolution
- 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 |
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?"