Re: Mulitple Web Sites (IIS and Apache) and SSL



Yeap .. forgot about that "feature" of IIS, socket pooling.
http://support.microsoft.com/kb/238131

--
Regards,
Andrei Ungureanu
www.eventid.net
Test our new EventReader!
http://www.altairtech.ca/eventreader/default2.asp?ref=au

"tshad" <t@xxxxxxxx> wrote in message
news:OIDGoMmPHHA.4484@xxxxxxxxxxxxxxxxxxxxxxx
"Andrei Ungureanu [MVP]" <contact me via www.itboard.ro> wrote in message
news:%23eM5JAIPHHA.4376@xxxxxxxxxxxxxxxxxxxxxxx
Ok, so let's say it in a different way: "only one application on a
machine can listen on one SOCKET". So, different IP address, same port
number => different socket. I haven't worked with Apache but I doubt that
it can't be configured to listen on another ip address.

No, your right. Only one application can listen on one Socket (IP:Port).
The problem was that IIS grabs all the addresses so it looked like when it
was listening on one address the application would listen to all. This is
the case but not because ports are Application dependant, as I thought.

Apache will do the same thing. If you don't define a particular Address,
it will listen on all address on the machine. This would conflict with
IIS which would grab all the addresses. This is solved by using httpcfg
to exclude the address you want to have Apache listen to.

The problem is that it doesn't work completely as documented but close.

Thanks,

Tom

--
Regards,
Andrei Ungureanu
www.eventid.net
Test our new EventReader!
http://www.altairtech.ca/eventreader/default2.asp?ref=au

"tshad" <tscheiderich@xxxxxxxxxxxxxxx> wrote in message
news:uh2tWSbOHHA.5012@xxxxxxxxxxxxxxxxxxxxxxx
"Andrei Ungureanu [MVP]" <contact me via www.itboard.ro> wrote in
message news:ut8grEZOHHA.2236@xxxxxxxxxxxxxxxxxxxxxxx
use a different IP address for the Apache web server.

That was the confusion we were running into.

I had thought that only one application (service) on a machine can
listen on
one port (having nothing to do with the IP). I know that an IP and Port
Number constitute a socket.

But if you could have more than one application listening on a port,
does
that mean that if I have SMTP running on a machine I could add another
IP
address to my NIC and have my application listen on Port 25 (what SMTP
uses)
but on the other IP Address.

Also, I didn't know you could hook Apache to a different IP Address.

Thanks,

Tom

--
Regards,
Andrei Ungureanu
www.eventid.net
Test our new EventReader!
http://www.altairtech.ca/eventreader/default2.asp?ref=au

"tshad" <tscheiderich@xxxxxxxxxxxxxxx> wrote in message
news:u9LWG4YOHHA.324@xxxxxxxxxxxxxxxxxxxxxxx
We have multiple Websites on one server (IIS) and one appache (tomcat)
also on the same server.

This has worked fine until now. We need secure pages on all the
Websites. We can handle the multiple Websites on IIS by adding a
different address on the NIC card and adding one of the address to
each Web Site. Then all the Websites can share port 443.

But can we do the same with Apache? Can we have the Apache sharing
443 on the same Web Server as IIS? I assume you can't as you can only
have one application listening on each port. If there is a way around
this without having to buy another server we would be thrilled.

Thanks,

Tom











.



Relevant Pages

  • Re: Exchange; ISA and IIS
    ... and you create some kind of rule in ISA to foward incoming ... requests on port 80, to the port that IIS is using. ... You can getting the errors at the moment because ISA is listening on port 80 ...
    (microsoft.public.inetserver.iis.security)
  • socket connection problem between C++ ActiveX and C# listening port
    ... I don't know if there is discrepancy between straight C code socket ... Few years ago I wrote an ATL ActiveX and a C++ daemon running locally ... The daemon opens a port on "localhost" and listens ... and send messages to the listening daemon. ...
    (microsoft.public.pocketpc.developer)
  • Re: Socket and cycle problem
    ... listening this port countinously. ... So I need make some loop to print data from 3883 port permanent. ... the data it receives from each connection after the remote side drops ... If you were to use the socket module, then it would look something like this: ...
    (comp.lang.python)
  • Re: help need in chat client/server
    ... Im new to this network programmin and I need help with this code i ... require "socket" ... PORT = 12321 ... listening but the sending end never listens and the listening end never ...
    (comp.lang.ruby)
  • Am I hacked? IIS dying, telnet localhost 443 gives: Hallo, Willkommen auf Compactzone Stro!
    ... I posted yesterday about my IIS dying. ... General consensus and mosts docs on the 115 error say something is ... listening on my http/https ports, however, netstat does not show ... access to either port 80 or 443 gets a page cannot be displayed error. ...
    (microsoft.public.inetserver.iis)