Knowledge Base

Exchange Server client receives an error message when it tries to send or receive e-mail: "Socket error: 10061, Error Number: 0x800ccc0e"

Article ID: 191687

Article Last Modified on 10/25/2007


APPLIES TO


This article was previously published under Q191687
Important This article contains information that shows you how to help lower security settings or how to turn off security features on a computer. You can make these changes to work around a specific problem. Before you make these changes, we recommend that you evaluate the risks that are associated with implementing this workaround in your particular environment. If you implement this workaround, take any appropriate additional steps to help protect the computer.

Note An antivirus program helps protect your computer from viruses. When your antivirus program is disabled, you should never download or open files from sources that you do not trust, visit Web sites that you do not trust, or open e-mail attachments.

SYMPTOMS

When you try to send or receive messages by using an Exchange server client, you may receive an error message. When you try to send a message to your Simple Mail Transfer Protocol (SMTP) server, you may receive the following error message:
The connection to the server has failed. Account: 'your_account',
Server:'your_SMTP_server', Protocol:SMTP, Port: 25, Secure(SSL): NO,
Socket error: 10061, Error Number: 0x800ccc0e
Similarly, when you start the e-mail client or try to receive a message from your Post Office Protocol version 3 (POP3) server, you may receive the following error:
The connection to the server has failed. Account: 'your_account',
Server:'your_POP3_server', Protocol:POP3, Port: 110, Secure(SSL): NO,
Socket error: 10061, Error Number: 0x800ccc0e

CAUSE

The client connects to a port that is blocked or unavailable on the mail server. If the client is trying to send a message, the blocked port is 25, and if the client is trying to retrieve a message, the blocked port is 110. Refer to the error message for the protocol and port numbers.

WORKAROUND

The following workaround should be performed on only the Exchange Server. If you are receiving one of the error messages that is listed in the "Symptoms" section and if you are not on a corporate network, you should view the following Microsoft Knowledge Base article for information about how to troubleshoot this issue in Microsoft Outlook and Microsoft Outlook Express:

813514 How to troubleshoot error messages that you receive when try to send and receive e-mail in Outlook and in Outlook Express

Warning This workaround may make a computer or a network more vulnerable to attack by malicious users or by malicious software such as viruses. We do not recommend this workaround but are providing this information so that you can implement this workaround at your own discretion. Use this workaround at your own risk.

To work around this behavior, make ports 110 and 25 available. By default, ports 110 and 25 are available when the Exchange Server services start. The ports 110 for POP3, 119 for Network News Transfer Protocol (NNTP), and 143 for Internet Message Access Protocol (IMAP) are automatically opened and made available on the Exchange Server computer when the Information Store service starts. Port 25 is automatically made available when the Internet Mail Service starts. If these services do not start, the ports are not available.

If the services are running, you can verify that these ports are listening (open) on the server by using the Netstat utility:
  1. Open a command prompt on the Exchange Server computer. You have to modify the command prompt properties, because the data scrolls off the screen. Open the command prompt, right-click the upper-left corner of the window, and then click Properties. Click the Layout tab, and then change the screen buffer size to 1,000. Apply the change. You are prompted to modify either the current window or the shortcut that you used to start the command prompt. You can modify the shortcut for future convenience.
  2. At the command prompt, type netstat -an. Scroll back to the beginning of the data output, and look for the following entries.

    Proto Local Address          Foreign Address        State
      TCP    0.0.0.0:25             0.0.0.0:0              LISTENING
      TCP    0.0.0.0:110            0.0.0.0:0              LISTENING
          

If these entries are present, Exchange Server is listening on ports 110 and 25 on all interfaces. This is typical. If these ports are not available, you may have to troubleshoot the following services or systems more. The following general causes may "hold" these ports, or make them unavailable:

MORE INFORMATION

You can also receive this error message when you have antivirus e-mail protection or personal firewall software enabled on your computer.

For more information about computer viruses, click the following article number to view the article in the Microsoft Knowledge Base:

129972 Computer viruses: description, prevention, and recovery


Additional query words: exfaq

Keywords: kberrmsg kbprb kbemail kbresolve KB191687