Cannot start ASP.NET web application using development server

My development machine (Vista) worked fine for a year, and then suddenly (without explicitly installing anything) I cannot start websites using the ASP.NET development server.

The development web server starts fine, but IE cannot display the page:

Internet Explorer cannot display the web page. Firefox says it was unable to connect, the connection was rejected when trying to connect localhost:49447.

Here is what I have tried so far:

  • Disabling Firewall
  • Stop antivirus
  • Stop Windows Defender

It worked when I stopped all services using MSConfig, and tried again. However, this disables most services, so it is not a possible long-term solution.

After stopping all the services, I tried to start the services one by one to find out which one was causing the problems.

These are the steps and results:

  • I found that the DNS Client Service was causing problems.
  • So, I started everything else and stopped the DNS client service, but then Network Support caused the problem

  • I stopped the DNS Client Service and Network Location Awareness and started the rest, btu again, something else is causing problems.

It is clear that at the root of this there is something general and fundamental.

I do not know much about the network. Can someone lead me in the right direction?

Note. I found another person who has the same problems since morning. Looks like it could be related to one of the update windows! Has anyone else hurt like me?

+3
10

, :

localhost, Vista, :: 1 localhost

":: 1 localhost" : 127.0.0.1 localhost

":: 1 localhost" , . Windows : , , - .

+12

.

- , - localhost.

, System32/etc.

.

127.0.0.1 localhost.

ping localhost cmd.

, .

-.

.............

+1

, , . , .

, - , , , .

0

, , Windows.
VS 2008 (9.0.30729.1 SP) Vista Ultimate SP1 (32-).

localhost 127.0.0.1 .
http://localhost:49227/testsite/Default.aspx
http://127.0.0.1:49227/testsite/Default.aspx

0
0

. :

. , .

0

visual studio 2008 express

"localhost" "127.0.0.1", . , , Internet Explorer firefox.

Opera : -)

Grtz

0

"localhost" "127.0.0.1" .

, , Vista, :

  • → →
  • "" " "
  • "" UAC
  • "" → ""
  • "C:\Windows\System32\Drivers\etc"
  • " (.txt)" " (. *)"
  • "" ""
  • . .
0

- , - localhost.

you need to add an entry to the host file, which is stored in the folder System32/etc.

just add this to the end of the file.

127.0.0.1 localhost.

Save this file and try ping localhost from the cmd prompt.

0
source

Source: https://habr.com/ru/post/1704488/


All Articles