I want my visual studio 22 asp.net web project running on a Windows computer to be opened on the ip of my own windows machine, not on localhost


When I run the open source web project that I opened in Microsoft Visual Studio 2022 on my Windows device, it runs on localhost:5001 port in the Chrome browser, but when I run this project, I want my device to receive it via IPSI. For example, I want it to be 192.168.192.130:5001 because I want to access and look at it from another device on the same network. Since it runs on localhost, I cannot access the web project even though it is on the same network. Even if I open the port in the firewall, I cannot access it. My problem now is to take the IP address of this web project to the IP of my own device, as I said. My open source project is nopcommerce and I downloaded the source codes from its website.

In Visual Studio 22, I tried to change my web project in the properties section so that it receives the IP address of the machine instead of localhost, that is like 192.168.192.130, but I could not find how to change it. I don’t know how to do this because I don’t know how to use visual studio.
enter image description here

Leave a Reply

Your email address will not be published. Required fields are marked *