I have written a Web API and hosted in iis 6 in windows 10 system.
I am using .NET v4.5 as Application Pool.
I have written
<compilation targetFramework="4.5" />
<httpRuntime targetFramework="4.5" />
in <system.web> in web config file.
I have placed the published files in inetpub/wwwroot folder. In iis the folder has appeared in Default Website and converted to the application.
when i browsed the application from iis the it is working fine.
But when i am accessing with ip address then it is showing as cant reach this page.
It is the public ip address and when i ping the ip in command prompt it is working fine and i am able to connect to the sql server in that system using the ip address from the system.
What I have tried:
I have tried the below steps.
1. I have uninstalled and again reinstalled the iis in the system.
2. Uninstalled .net framework then installed the iis first and reinstalled the .net
framework.
3. In windows features enabled all the check boxes in Application Development Features
under internet information services.
4. Tried enabling the Internet Information Services Hostable Web core in windows
features.
Nothing works for me.
Can someone help me with this.