I'm using Visual Studio and IIS Express to run a web app locally.
I can access the web app without any issues using https://localhost:44300.
Out of curiosity, I wanted to access it using the IP address, so I tried https://10.1.1.229:44300 but am getting this error:
I thought I could replace localhost with my private IP address which I got from ipconfig:

I also noticed it says the certificate is not secure.
How can I access my local web app using the IP address?

localhost, so you cannot use IP address. That's how IIS site bindings work, docs.jexusmanager.com/tutorials/… Modifying the bindings is not recommended as you are only debugging locally. To test a site with production settings, publish to full IIS and manage the settings there.