"Mike Lowery" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> This article might help:
> http://support.microsoft.com/kb/238131/
That works for Windows 2000. I am on Windows 2003 and I found out that you
need to use the httpcfg program that is on the Install disk.
We actually got this to work pretty much. But ran into a problem where we
have the same Domain name for our IIS and Apache web servers. This would
normally be a problem. But we were able to handle the conflict by using a
different port for SSL and on our Apache all the pages are secure.
We should have been able to solve our problem by doing the same type of
thing by using only the SSL port on our Apache web site.
We tried to solve this by doing the following:
httpcfg set iplisten /i 10.0.15.10:80
Thinking this would only open the port for this address. Not the case. It
still opens port 80 for all addresses defined in the new listener list. And
since we are using 443 for all our other ports (other than this address that
we wanted to use for our Apache Web Server), if you define even one web site
in IIS as 443 all the address in the lists will listen on 443 even though we
have the above entry which says only use port 80.
This is really a worthless entry (that MS docs says is a valid entry)
From the article:
http://technet2.microsoft.com/Window....mspx?mfr=true
httpcfg set iplisten
/iIp:Port
The /i parameter takes a string specifying the IP address to be added to the
IP-Listen List. This can be either an IPv4 or IPv6 address. When using set
iplisten, the /i parameter is required.
This really does nothing. It doesn't matter if you set this. If any of the
other addresses in the list have 443 defined in the Web Site page of IIS,
they all get it.
Tom
>
> "tshad" <(E-Mail Removed)> wrote in message
> news:%(E-Mail Removed)...
>>I need to figure this out as we tried to get this working today and found
>>that because I add 443 to one address - it will do it for all the address
>>in the list.
>>
>> I don't want to do that.
>>
>> I need to be able to tell IIS to only open port 443 on a particular
>> address and not all the IPs in the list. Is there a way to do this? It
>> appears that httpcfg won't help me here. It works great for stopping it
>> from grabbing all the addresses in the list. But it still seems to be
>> Socket pulling on all those addresses. If you open a port on one
>> address - it will grab it for all the addresses.
>>
>> Thanks,
>>
>> Tom
>> "tshad" <(E-Mail Removed)> wrote in message
>> news:(E-Mail Removed)...
>>>I got it all working with httpcfg, but ran into an interesting problem.
>>>
>>> I have 3 websites set as 192.168.122.200 and port 80 with ssl set to
>>> ports
>>> 4430, 4431, 4433. I also used httpcfg to define 1 address to bind to
>>> (192.168.122.200). I also have 192.168.122.201-203 defined on the the
>>> Nic
>>> but nothing bound to them
>>>
>>> This gave me the following - which makes sense.
>>> ************************************************** ***
>>> C:\Documents and Settings\Administrator>netstat -an | find /i
>>> "listening"
>>> ...
>>> TCP 192.168.122.200:80 0.0.0.0:0 LISTENING
>>> TCP 192.168.122.200:4430 0.0.0.0:0 LISTENING
>>> TCP 192.168.122.200:4431 0.0.0.0:0 LISTENING
>>> TCP 192.168.122.200:4433 0.0.0.0:0 LISTENING
>>>
>>> C:\>httpcfg query iplisten
>>> IP : 192.168.122.200
>>> ----------------------------------------------------------------------------
>>> --
>>> ************************************************** ***
>>>
>>> But then I used httpcfg to add another Address to the listening list but
>>> still am not binding anything to it. But it seems to bind all the ports
>>> that are bound to 192.168.122.200 also to 192.168.122.201. But if I am
>>> not
>>> using Socket Pooling - why is it binding all the ports to the new IP?
>>>
>>> ************************************************** *************
>>> Microsoft Windows [Version 5.2.3790]
>>> (C) Copyright 1985-2003 Microsoft Corp.
>>>
>>> C:\Documents and Settings\Administrator>netstat -an | find /i
>>> "listening"
>>> ...
>>> TCP 192.168.122.200:80 0.0.0.0:0 LISTENING
>>> TCP 192.168.122.200:4430 0.0.0.0:0 LISTENING
>>> TCP 192.168.122.200:4431 0.0.0.0:0 LISTENING
>>> TCP 192.168.122.200:4433 0.0.0.0:0 LISTENING
>>> TCP 192.168.122.201:80 0.0.0.0:0 LISTENING
>>> TCP 192.168.122.201:4430 0.0.0.0:0 LISTENING
>>> TCP 192.168.122.201:4431 0.0.0.0:0 LISTENING
>>> TCP 192.168.122.201:4433 0.0.0.0:0 LISTENING
>>>
>>> C:\Documents and Settings\Administrator>cd\
>>>
>>> C:\>httpcfg query iplisten
>>> IP : 192.168.122.200
>>> ----------------------------------------------------------------------------
>>> --
>>> IP : 192.168.122.201
>>> ----------------------------------------------------------------------------
>>> --
>>> ************************************************** **************
>>>
>>> Thanks,
>>>
>>> Tom
>>>
>>>
>>
>>
>
>