Hosting at Windows 10 Pro, not Server.
I’m trying to share local IIS website using external static IP provided by hoster.
When I go to a website using http://localhost it works fine, but if I’m trying to open it using IP I always see an error page saying “Can’t reach a website”.
- I can ping IP from any computer.
- I can start Apache server, and it will be visible from outside.
- IIS bindings for this website are set to “All Unassigned” for port 80 and “All Unassigned” for port 443.
- Firewall and antivirus are temporarily disabled
- Folder “inetpub” gives full control permissions to Administrators, NonManaged Pool User, DefaultAppPool, Users, System, Network Service.
- This is a .NET Core application, so it’s starting on localhost:5000 and IIS simply redirects all requests to it.
- Tried to remove all ACL rules using “netsh”, then added rule to allow all users access to “http://*:80/”
Why Apache works fine everywhere, but IIS is available only on localhost?