Unable to launch the ASP.NET Development server because port '1900' is in use

前端 未结 19 1167
长情又很酷
长情又很酷 2020-12-09 08:47

I was developing just fine in VS 2008 and testing my ASP.NET web site on my development server when suddenly I was unable to run my web site anymore. As soon as I hit F5, th

19条回答
  •  猫巷女王i
    2020-12-09 09:06

    I had this same problem today and found a solution so I thought I would add my two cents:

    My particular problem was that I would get the "Port in use" error message even though the development server was clearly running and I was able to use the application on it. As it transpired, I was working on a Web Service at the time and happened to have the design view open - without realising. It was this web service's design view that was trying to launch the development server - which is why I couldn't type a single character of code without getting the error.

    Close your Web Service's design view... problem solved.

    I sincerely hope this helps someone else someday too.

    Cheers

    Iain

提交回复
热议问题