The server is running Windows Server 2019 Standard with IIS 10, and it has two network interfaces with public IPs (198.51.100.1 and 203.0.113.1)
My desired setup:
- IIS: 198.51.100.1 on port 80
- IIS: 198.51.100.1 on port 443
- IIS: 203.0.113.1 on port 80
- nginx: 203.0.113.1 on port 443
But after IIS started, the http.sys (PID=4) starts listening 80 and 443 ports on all IPs:
TCP 0.0.0.0:80 0.0.0.0:0 LISTENING 4 TCP 0.0.0.0:443 0.0.0.0:0 LISTENING 4 TCP [::]:80 [::]:0 LISTENING 4 TCP [::]:443 [::]:0 LISTENING 4
I can limit to particular address with 'netsh http add iplisten' command, but I want to use both 198.51.100.1 and 203.0.113.1 address in IIS. Iplisten is not allowed to specify ports.
And I don't want to use reverse proxy...
Anyone know how I can use 443 in both IIS and nginx?