"Andrei Ungureanu [MVP]" <contact me via www.itboard.ro> wrote in message
news:%(E-Mail Removed)...
> 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...lt2.asp?ref=au
>
> "tshad" <(E-Mail Removed)> wrote in message
> news:(E-Mail Removed)...
>> "Andrei Ungureanu [MVP]" <contact me via www.itboard.ro> wrote in message
>> news:(E-Mail Removed)...
>>> 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...lt2.asp?ref=au
>>>
>>> "tshad" <(E-Mail Removed)> wrote in message
>>> news:(E-Mail Removed)...
>>>> 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
>>>>
>>>
>>>
>>
>>
>
>