-2

I am receiving the error, "unable to start debugging on the web server. the debugger cannot connect to the remote computer. the debugger was unable to resolve the specified computer name" in visual studio. I have two websites already working in IIS, but can not get this third one to work.

enter image description here

I have tried an IIS reset and many other alternatives

Sudarshan
  • 367
  • 2
  • 8
  • 20
Ha66y-Day
  • 197
  • 1
  • 2
  • 12
  • 1
    I think there is a post This may help u https://stackoverflow.com/questions/39684127/unable-to-start-debugging-on-the-web-server-the-debugger-cannot-connect-to-the?utm_medium=organic&utm_source=google_rich_qa&utm_campaign=google_rich_qa – Krishna Chaitanya May 25 '18 at 13:00
  • 1
    Possible duplicate of [Unable to start debugging on the web server. The debugger cannot connect to the remote computer in MVC](https://stackoverflow.com/questions/39684127/unable-to-start-debugging-on-the-web-server-the-debugger-cannot-connect-to-the) – Daxtron2 May 25 '18 at 13:02
  • my host file is correct. it has the IP and the host name – Ha66y-Day May 25 '18 at 13:14
  • See also : https://blog.nick.josevski.com/2015/02/17/iis-visual-studio-unable-to-start-debugging-on-the-web-server/ – PaulF May 25 '18 at 13:22
  • problem has been fixed! – Ha66y-Day May 25 '18 at 13:53
  • if you fixed the problem and does not want to share the answer by leaving it below and accepting it, please do delete this question right now. – Lex Li May 25 '18 at 18:40

1 Answers1

0

The answer to my question was my host file was being saved in the wrong location.

Ha66y-Day
  • 197
  • 1
  • 2
  • 12