Forums

PHP

This topic is locked

Apache & IIS together :)

Posted 01 Apr 2002 06:45:05
1
has voted
01 Apr 2002 06:45:05 a a posted:
Hey guys, How would I use Apache & IIS together so that I can make use of the SMTP server of IIS for sending emails. Any help or hint would be nice.

Thank You.

Replies

Replied 01 Apr 2002 22:02:35
01 Apr 2002 22:02:35 Bruno Mairlot replied:
Very easy. Just make sure IIS is not running any Website.

The only thing that unallow Apache and IIS to work together is that they each have to listen on port 80.

To make sure IIS is not listening on port 80, run the telnet command on your localhost and on port 80. To do so, you may just run a DOS command prompt, then typing the following command : "telnet localhost 80". If you can connect, then IIS is running and listening on port 80. Remove all your site configuration, even the default one. And then retry again until you can't connect.

Then install and run Apache, and everything should be fine.

--- Better to die trying, than never try at all ---
Replied 02 Apr 2002 09:34:50
02 Apr 2002 09:34:50 a a replied:
Hey thanks for the information. You gave me an idea about chaning the port and it worked. Now I have apache running on port 80 and IIS + SMTP on port 81. I wanted to have some SMTP services for mail related stuff and this info has solved my problem so far.
Appreciate the help, thanks again.

Reply to this topic