Microsoft KB Archive/191687

= 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


 * Microsoft Exchange Server 2007 Enterprise Edition
 * Microsoft Exchange Server 2007 Standard Edition
 * Microsoft Exchange Server 2003 Enterprise Edition
 * Microsoft Exchange Server 2003 Standard Edition
 * Microsoft Exchange Server 5.5 Standard Edition
 * Microsoft Exchange Client 5.5
 * Microsoft Exchange Client 5.0

-



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:  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. 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:  The Exchange Server information store service is not running, or the POP3 protocol is not enabled and listening to port 110. Verify that the information store service is running. For more information about troubleshooting the POP3 protocol, click the following article number to view the article in the Microsoft Knowledge Base:

161118 Troubleshooting PO161118 connections to Exchange Server

 The Internet Mail Service is not running or is not listening on port 25. Verify that the Internet Mail Service is running. For more information about testing the Internet Mail Service and port 25, click the following article number to view the article in the Microsoft Knowledge Base:

153119 Telnet to port 25 to test SMTP communication

</li> A proxy server located between the client and the server may be blocking access to these ports to the Exchange Server computer. For more information about configuring Exchange Server through a proxy server, click the following article number to view the article in the Microsoft Knowledge Base:

176466 TCP ports and Microsoft Exchange: In-depth discussion

</li> Another program, such as virus-scanning software, has reassigned port 25 to another port. Disable all services that are not essential, including antivirus software, and then restart the server.</li></ul>

<div class="moreinformation_section">

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

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.