SMTP: The service could not bind instance 1. The data is the error code.

I was helping a client server as mentioned the email form could send an email.

The server ran with IIS 7.5 with IIS SMTP services. Hence, I was trying to open the IIS 6.0 and start the SMTP services when found it is stopped.


However, when I trying to start the IIS SMTP services, it is prompt an alert.

At the same time, the event viewer is showing the error as below.

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

With the above error, it might meant that the SMTP port of 25 is being assigned to your email software installed to the server. To overcome the problem, refer to the step as below.

1. Open the IIS 6.0.
2. Double click the hostname and right click the Default SMTP Virtual Server then click on Properties.
3. Click on the Advance button and change the TCP port to 2525.

Well done, you have done.

How to disable mod_security for an account

Sometimes, you might want to disable the mod_security applied to the virtual server and you might wonder how to do it.

If you are using Apache with mod_security, it could be done from the configuration file.

However, you have to understand the Apache version and mod_security version that you used.

Normally, a hosted server will use Apache 1.x with mod_security 1.x and Apache 2.x with mod_security 2.x.

To find out the Apache version, you may use the following command.

httpd -v

With mod_security 1.x, you may use the following command from each of the virtual host path and add into the .htaccess file.

Continue reading How to disable mod_security for an account