HI Team,
can we route all api call to ip adress instead of localhost if yes please share supported code
below are example
https://IP :8881/api/v1/devices
https://localhost:8881/api/v1/devices
HI Team,
can we route all api call to ip adress instead of localhost if yes please share supported code
below are example
https://IP :8881/api/v1/devices
https://localhost:8881/api/v1/devices
I'm not sure why you would want to do this. Open the hosts file (C:\Windows\System32\drivers\etc) using a text editor. Then make the change. The hosts file has instructions.
Hi @saanvi-7629,
Do you want to open the website by IP address?
➤If this is the case, you can deploy the project to IIS first, and then access the website through the IP address.
Here are some links that can help you.
➤Publish to IIS
➤How to configure ASP.NET MVC web project to be accessible from another PC in the company's same network?
If the answer is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.
Best Regards,
YihuiSun
2 people are following this question.