I just followed the instructions in this thread Browse Web Site With IP Address Rather than localhost but now I can't even launch IIS express. Specifically, the error I got is "Unable to launch the IIS Express Web server".
Visual Studio Project settings:
Use Local IIS Web Server
Use IIS Express
Project Url:http://3.114.169.118:1407/
Application Config Code
<sites>
<site name="WebSite1" id="1" serverAutoStart="true">
<application path="/">
<virtualDirectory path="/" physicalPath="C:\TestBillingApp\BillingApp\BillingApp" />
</application>
<bindings>
<binding protocol="http" bindingInformation="*:1407:3.114.169.118" />
</bindings>
</site>
Created acl in cmd
netsh http add urlacl url=http://3.114.169.118:1407/ user=everyone
Update: I just noticed that if I browse to the ip in my browser right after launching, it's up and running. But it only runs for like 10 seconds, then I get the Unable to launch the IIS Express Web Server error, and it goes down.