Irwin Fletcher replied...
21-Sep-06 01:43 PM
I have a Server 2003 SP1 machine with all the latest updates.  IIS is
running on on this machine and I have 7 virtual websites set up.  I have
added a second static IP address to one NIC I have in the machine.  I
need to make IIS listen on only the first IP address and not the second.

Here is what I have done:

1) Went to every website and changed the ip address in the pull down to
the second IP address.  This didn't work.

2) Stopped IIS (using iisreset /stop) and issued the command:
I then issued the command "httpcfg query iplisten".  This returned:
IP                      : <first ip address>
--------------------------------------
Started IIS (suing iisreset /start).
This didn't work

3) Stopped IIS (using iisreset /stop) and issued the command:
disablesocketpooling            : (BOOLEAN) True
I then issued the command:
I then issued the command "httpcfg query iplisten".  This returned:
IP                      : <first ip address>
--------------------------------------
Started IIS (suing iisreset /start).
This didn't work

To confirm that IIS was still listening to the second IP address, I
pointed a web browser on a machine on the same network to the second IP
address.  When I returned "Bad Request (Invalid Hostname)", I knew that
IIS was answering.

Anyone have any ideas?

TIA
Server
(1)
Machine
(1)
Latest
(1)
Updates
(1)
Virtual
(1)
Websites
(1)
Static
(1)
Address
(1)
  wjzhan replied...
22-Sep-06 03:47 AM
Hi Irwin,

If you want to set IIS6 only listens on specific IP address, using httpcfg
to do this is the correct way.

Please run the following commands:

1. httpcfg delete iplisten -i 0.0.0.0

This removes IIS from listening on all available IPs 0.0.0.0

2. httpcfg delete iplisten -i <second ip address>

Removes IIS from listening on the second IP

3. 2. httpcfg set iplisten -i <first ip address>

Expliclitly configure IIS to be listening on the first IP

4. httpcfg query iplisten

Check the HTTP.sys IP listening list, you should only see the first IP in
it.


After this above, please run:

net stop http
net start http
iisreset

to restart HTTP service before restarting IIS. Restart IIS services will
not make the changes of HTTP.sys take effect. Or you may reboot the server.

Please check if it works this time. If problem still persists, I will
assist you on the troubleshooting.

Have a great weekend.

Sincerely,

WenJun Zhang

Microsoft Online Community Support

==================================================

Get notification to my posts through email? Please refer to:
http://msdn.microsoft.com/subscriptions/managednewsgroups/default.aspx#notif
ications.

Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
where an initial response from the community or a Microsoft Support
Engineer within 1 business day is acceptable. Please note that each follow
up response may take approximately 2 business days as the support
professional working with you may need further investigation to reach the
most efficient resolution. The offering is not appropriate for situations
that require urgent, real-time or phone-based interactions or complex
project analysis and dump analysis issues. Issues of this nature are best
handled working with a dedicated Microsoft Support Engineer by contacting
Microsoft Customer Support Services (CSS) at:

http://msdn.microsoft.com/subscriptions/support/default.aspx.

==================================================

This posting is provided "AS IS" with no warranties, and confers no rights.
  Irwin Fletcher replied...
23-Sep-06 06:01 AM
Here is what I entered and the results:

httpcfg delete iplisten -i 0.0.0.0
HttpDeleteServiceConfiguration completed with 1168

httpcfg delete iplisten -i <second ip address>
HttpDeleteServiceConfiguration completed with 1168

httpcfg set iplisten -i <first ip address>
HttpSetServiceConfiguration completed with 0

httpcfg query iplisten
IP : <first ip address>

Not working at this point (web browser gets similar error as before).

Rebooted the machine.  Everything works now.  Thanks for your help!

IIS - You are welcome Irwin.

Asked By wjzhan
25-Sep-06 12:11 AM
You are welcome Irwin.

Sincerely,

WenJun Zhang

Microsoft Online Community Support

==================================================

Get notification to my posts through email? Please refer to:
http://msdn.microsoft.com/subscriptions/managednewsgroups/default.aspx#notif
ications.

Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
where an initial response from the community or a Microsoft Support
Engineer within 1 business day is acceptable. Please note that each follow
up response may take approximately 2 business days as the support
professional working with you may need further investigation to reach the
most efficient resolution. The offering is not appropriate for situations
that require urgent, real-time or phone-based interactions or complex
project analysis and dump analysis issues. Issues of this nature are best
handled working with a dedicated Microsoft Support Engineer by contacting
Microsoft Customer Support Services (CSS) at:

http://msdn.microsoft.com/subscriptions/support/default.aspx.

==================================================

This posting is provided "AS IS" with no warranties, and confers no rights.
help
IIS 7 error message installing on Server core IIS Hello all, I have successfully installed IIS 7 on a virtual machine install of Server Core as outlined here: http: / / blogs.technet.com / jorke / archive / 2008 / 06 / 05 / installing-ftp-with-iis7-on-2008-server-core.aspx but have encountered this error when attempting to "add the appropriate bindings to where N is a numeric index into the collection. ) - - BStillion Portland ME IIS Discussions Windows Server 2008 (1) ASP.NET (1) IIS (1) FTP (1) CoreConfigurator (1) Dec (1) Portocol (1 NET on IIS7 yet (I had a long chat to the staff on the Windows Server 2008 stand at TechEd Developer last month while taking a break from the stand I into the collection. ) The uninstall went fine. I initially got an error when installing the latest version of IIS 7 relating to Windows Activation Service Process Model not being installed. Once Thu, 11 Dec 2008 08:28:01 -0800: keywords: IIS, 7, error, message, installing, on, Server, core description: Hello all, I have successfully installed IIS 7 on a virtual machine install
ASP's no longer load IIS We're running a 2000 server with the latest services pack. We had tried installing a help desk package on this server and had to remove it because it does not run properly on a domain controller try to load an ASP page, that was working previously we get the following Internal Server Error: Error Type: msxml3.dll (0x80070005) Access is denied. I've done many searches and issue that you (or someone else) would freely install unsupported applications on a critical infrastructure server like a Domain Controller. That is more devastating to your organization than finding a fix made available to an IIS application is that of the "default user." On a web server, the default user profile may not include an entry for the requested web site to Intranet site; therefore, the security settings for the Internet zone are applied. On the web server machine, you can add the site as a new key under: HKEY_USERS \ .DEFAULT \ Software \ Microsoft \ Windows
Page cannot be displayed IIS I have a Server with two Intel Pro 1000 Gigabit Ethernet Adapter's, one XT and one MT and have installed the latest drivers. The Server has Windows 2003 SP2 installed. I'm using IIS to connect to an SSL page with the network cards. so your saying from a workstation if you go to http: / / server / webapp (not from the server) with only one card enabled it works fine? but if you enable the second card it tells you the server cant be found? did you try accessing it by IP rather than by server name? please give some more detail as to how you are testing this. Justin Hi that is what happens. Fiona are you able to ping both nics ok from another machine? did you make any changes to IIS? perhaps once you enable the second NIC restart
Virtrual Server 2005 on Vista IIS I've Virtual Server 2005 installed on Vista and am having trouble accessing the web pages for Virtual Server. Vista did not have IIS installed before Virtual Server, so the Virtual Server setup, installed IIS for me (without requiring the Vista DVD I might add). Assuming IIS is installed correctly, I get the following message when I attempt to open Virtual Server at http: / / rc-wrkstn-12 / VirtualServer / VSWebApp.exe?view = 1 administration website to the Internet Explorer trusted sites list". Note that I have Virtual Server also installed on XP and it has no problem with trusted sites. Because IE7 is long time to start IE in this mode. Any ideas on how to get Virtual Server to run on Vista? - - Thanks, Bob IIS Discussions Virtual Server 2005 R2 (1) Virtual PC