A set of technologies in .NET for building web applications and web services. Miscellaneous topics that do not fit into specific categories.
Hello Cenk,
Thanks for sharing the details of your setup. Based on what you described, everything inside the server (your IIS + ARR + URL Rewrite setup) seems to be working fine, because your Invoke-WebRequest from the server itself succeeds with a 200.
However, the fact that external clients time out and you don’t see any entries in the IIS log for those external requests is a strong sign that the problem isn’t the proxy logic, but rather traffic not reaching the box at all. In short: the issue is likely network/firewall/NAT related.
Please check for these:
- Server firewall and network profile
- On your server, check which network profile is active (
Domain,Private,Public). - Make sure there is an inbound rule allowing TCP port 443 on all profiles, or temporarily disable the firewall to test if external access then works.
- On your server, check which network profile is active (
- External reachability of port 443
- From a machine outside your internal network, run:
nslookup lojistik.abc.com.tr Test-NetConnection -ComputerName lojistik.abc.com.tr -Port 443 - If this fails (times out or “connection refused”), it means traffic isn’t being routed from the internet to your server.
- From a machine outside your internal network, run:
- NAT / edge firewall / port forwarding
- Since your server IP is
10.6.130.90(private), ensure your external/public IP (which your domain resolves to) has port 443 forwarded to that internal IP. - Check there’s no firewall on the perimeter blocking HTTPS traffic.
- Since your server IP is
- Binding in IIS
- In IIS Manager, verify your HTTPS binding: IP address should ideally be “All Unassigned” or the external-facing IP; port 443; correct SSL certificate.
- On the server run
netstat -ano | findstr :443, look for0.0.0.0:443(listening on all interfaces) rather than127.0.0.1:443.
If after you check these things it still doesn’t work, please post the results of your external Test-NetConnection .
For reference, here’s Microsoft’s official guide on using IIS with ARR as a reverse proxy: https://learn.microsoft.com/en-us/iis/extensions/url-rewrite-module/reverse-proxy-with-url-rewrite-v2-and-application-request-routing
Hope this helps.