I previously configured IIS express server to the IP address 192.168.1.4
for a certain project. I did this by changing the applicationhost.config
file to so:
<bindings>
<binding protocol="http" bindingInformation=":8080:192.168.1.4" />
</bindings>
I now need to change the IP address to 192.168.1.5
. After changing the applicationhost.config
and opening Visual Studio, I get the following error:
Creation of the virtual directory http://192.168.1.4:8080
failed with the error: Cannot create the Web site http://192.168.1.4:8080
. You must specify "localhost" for the server name.
Can anyone tell me how to fix this error so I can change the IP address? I am using Visual Studio Express 2013