Article ID: 261194 - Last Review: July 3, 2008 - Revision: 5.1 You Receive an Error Message When You Try to Start the Web ServiceThis article was previously published under Q261194 We strongly recommend that all users upgrade to Microsoft Internet Information Services (IIS) version 7.0 running on Microsoft Windows Server 2008. IIS 7.0 significantly increases Web infrastructure security. For more information about IIS security-related topics, visit the following Microsoft Web site: http://www.microsoft.com/technet/security/prodtech/IIS.mspx
(http://www.microsoft.com/technet/security/prodtech/IIS.mspx)
For more information about IIS 7.0, visit the following Microsoft Web site: http://www.iis.net/default.aspx?tabid=1
(http://www.iis.net/default.aspx?tabid=1)
SYMPTOMS
When you attempt to start the Web service, the following error message occurs:
Address already in use.
Event 115 Source: w3svc Description: Could not bind instance X CAUSE
Another service or application is listening to or using one of the default TCP ports (80 for http connections, 443 for https connections) that the World Wide Web Publishing Service (W3SVC) needs to bind to.
RESOLUTION
Disable or uninstall the service or application that is using port 80 or 443, and then retest the Web sites. An example of an application that could have grabbed port 80 is MSProxy or some third party application.
In Microsoft Windows XP you can determine the application that is using the port attempting to be used. To do this, issue the following command: netstat -ano For additional information, click the article number below
to view the article in the Microsoft Knowledge Base:
281336
(http://support.microsoft.com/kb/281336/EN-US/
)
How to Determine Which Program Uses or Blocks Specific Transmission Control Protocol Ports
NOTE: It may be necessary to restart the computer.
Several third-party utilities are available to provide this type of functionality in Windows 2000 and Windows NT:
FoundStone FPort:
Microsoft provides third-party contact information to help you find technical support. This contact information may change without notice. Microsoft does not guarantee the accuracy of this third-party contact information.http://www.foundstone.com/rdlabs/termsofuse.php?filename=FPortNG.zip
(http://www.foundstone.com/rdlabs/termsofuse.php?filename=fportng.zip)
Active Ports (APORTS):
http://www.ntutility.com/freeware.html
(http://www.ntutility.com/freeware.html)
NTSecurity.nu Inzider:
http://www.ntsecurity.nu/toolbox/inzider/
(http://www.ntsecurity.nu/toolbox/inzider/)
MORE INFORMATION
To determine which ports are being listened to by other services or applications, first stop the IISADMIN service, and then type netstat -an at the command prompt.
NOTE: If this error message occurs immediately after you install IIS 5.0 over IIS 4.0, removing and then reinstalling the TCP/IP protocol from Windows may reset the TCP port registry entries to the default values, allowing the IIS 5.0 Web service to work again. However, be aware that doing so may prevent the other service or application using port 80 or 443 from operating properly.
| Article Translations
|
Back to the top
