I'm trying to run a website on localhost using IIS in Windows 10. I'd like to be able to access the website through another pc in the lan using a local ip address and port. I just started debugging the application in visual studio 2015, I could run
<binding protocol="http" bindingInformation="*:51258:localhost" />
but using
<binding protocol="http" bindingInformation="*:51258:192.168.1.213" />
causes an "Access Denied" popup in visual studio
I've followed the steps in https://support.microsoft.com/en-sg/kb/894433 but was confused with step 7 i.e. 7. Add the worker process account that is configured in the processModel element in the Machine.config file I was able to locate the machine.config file but the process model is set to autoconfig=true i.e.
Do I have to setup a custom account or is there a default worker process account that I'm not seeing?
This is so that I can do the following steps to solve the access denied problem... 5. In the Policy pane, right-click Impersonate a client after authentication, and then click Properties. 6. Click Add User or Group. 7. Add the worker process account that is configured in the processModel element in the Machine.config file.
Please note that I have already added the IUSR with permissions to the directories I'm running the website from.