1

I'm not able to make my VS2015 Web Project visible on LAN.

I changed C:\Users\%user_name%\Documents\IISExpress\config\applicationhost.configwith

binding protocol="http" bindingInformation="*:57026:127.0.0.1"

but when I add as tutorials suggest

binding protocol="http" bindingInformation="*:57026:*

and try to start the project I get "Failed to register URL ..... acces denied"

I also added the firewall exception.

What can I do ?

Cœur
  • 37,241
  • 25
  • 195
  • 267
doremifasolasido
  • 428
  • 5
  • 17
  • Install IIS on your machine and deploy the project to it? IIS Express is designed for developers to easily debug and test on their own machines, not for serving up pages to others. – crashmstr Oct 28 '16 at 13:08
  • Yes, but I need a workaround for LAN , can it be done with port forward ? – doremifasolasido Oct 28 '16 at 13:19
  • Possible duplicate of [Using IIS Express to host a website (temporarily)](http://stackoverflow.com/questions/5235826/using-iis-express-to-host-a-website-temporarily) – crashmstr Oct 28 '16 at 13:21

1 Answers1

1

Perhaps it's happened because VS2015 use another applicationhost.config located in a hidden folder in your project folder (.vs).

Try delete applicationhost.config file from .vs folder and restart VS 2015. After this, configure port that you want use on Project properties on VS2015.

I think it'll solve your problem.

PS. I can't test this scenarios now.

andercruzbr
  • 454
  • 2
  • 10