IIS alongside other apps

Jeff X 0 Reputation points
2023-05-18T01:40:49.2866667+00:00

Windows Server 2019

I currently do NOT have IIS installed but I need to install it because I want to install a new web app which needs IIS.

Currently, I have a couple of third-party web apps installed that use HTTP/HTTPS. Each app listens on a separate IP address. What's confusing me is that I had to run the following commands in order to connect to each app:

netsh http add iplisten ipaddress=192.168.1.4
netsh http add iplisten ipaddress=192.168.1.5

Those commands add those IP's to the ListenOnlyList in the registry. It's my understanding that IIS listens to IP's in that list. How can I use those app alongside IIS if IIS will also listens on those IP's? Why do I have to run those commands if ISS is not installed?

Internet Information Services
Windows Server
Windows Server
A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.
12,922 questions
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. XuDong Peng-MSFT 10,426 Reputation points Microsoft Vendor
    2023-05-18T03:25:11.97+00:00

    Hi @Jeff X,

    How can I use those app alongside IIS if IIS will also listens on those IP's?

    If you have IIS installed and want to manage listening on specific IP addresses through it, you can host the applications on IIS first and then bind IP addresses to them. Just refer to this doc: Create and Configure an IIS Website. Something like this:

    result2

    Why do I have to run those commands if ISS is not installed?

    Because in your current case, since you haven't installed IIS, IIS is not using those IP addresses that you added with the "netsh http add iplisten" command. They are configured specifically for the HTTP service that your web applications use to listen on the specified IP address.

    Best regards,

    Xudong Peng


    If the answer is the right solution, please click "Accept Answer" and kindly upvote. If you have extra questions about this answer, please click "Comment".

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    0 comments No comments

  2. Lex Li (Microsoft) 5,577 Reputation points Microsoft Employee
    2023-05-23T18:25:11.5866667+00:00

    The commands you listed are for Windows HTTP API (http.sys). Whether you install IIS or not, that HTTP API is always there on Windows, as other Windows components and/or apps require it to perform HTTP activities.

    You have to run those commands for your apps if they want to listen to incoming HTTP requests from the IP addresses.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.