“The service could not bind instance 1. The data is the error code.”

Want to help support this blog? Try out Oh Dear, the best all-in-one monitoring tool for your entire website, co-founded by me (the guy that wrote this blogpost). Start with a 10-day trial, no strings attached.

We offer uptime monitoring, SSL checks, broken links checking, performance & cronjob monitoring, branded status pages & so much more. Try us out today!

Profile image of Mattias Geniar

Mattias Geniar, September 20, 2008

Follow me on Twitter as @mattiasgeniar

Update: this article talks about SMTP service throwing the error, but it is applicable to any possible service. In short; you’re trying to start a service on a port, on which another service is already running. Ready on for more info & fixes.

Post: When you suddenly find your Default SMTP Virtual Server stopped in your IIS Manager, you could find it throwing the following error when you try to start it manually.

The service has returned a service-specific error code. Check the Windows Event Viewer for details.

The service has returned a service-specific error code. Check the Windows Event Viewer for details.

The event viewer will only tell you the following message:

Event ID: 115
Source: SMTPSVC
Description: The service could not bind instance 1. The data is the error code.

This means the service couldn't start on its configured port (by default SMTP uses port 25), and thus throws an error. It could be due to another mailserver that is already installed, or because another application is using up port 25.

You could quickly check this by telnetting to your localhost on port 25, to see which service responds. Open a command prompt and type the following.

telnet localhost 25

It should give you a message which will point you in the right direction to track down the culprit that 's using up your precious SMTP service port.

Here are some useful links.



Want to subscribe to the cron.weekly newsletter?

I write a weekly-ish newsletter on Linux, open source & webdevelopment called cron.weekly.

It features the latest news, guides & tutorials and new open source projects. You can sign up via email below.

No spam. Just some good, practical Linux & open source content.