Improve company productivity with a Business Account.Sign Up

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 367
  • Last Modified:

localhost just stopped working debugging .net website

Hi,

For no reason my .net websites have just stopped debugging.

When I trry and run them I just get:
Oops! Google Chrome could not find localhost:1752

happens whatever browser I use.

I haven't changed anything but can't promise that there having been any updates to my system.

This is driving me nuts can someone point me in the right direction of how I may be able to resolve this?

Thanks in advance?
0
scm0sml
Asked:
scm0sml
  • 3
  • 3
1 Solution
 
wdosanjosCommented:
Does http://127.0.0.1:1752 work?

Check your 'hosts' file.  It's located on C:\WINDOWS\system32\drivers\etc.  It should contain something like this:

# Copyright (c) 1993-1999 Microsoft Corp.
#
# This is a sample HOSTS file used by Microsoft TCP/IP for Windows.
#
# This file contains the mappings of IP addresses to host names. Each
# entry should be kept on an individual line. The IP address should
# be placed in the first column followed by the corresponding host name.
# The IP address and the host name should be separated by at least one
# space.
#
# Additionally, comments (such as these) may be inserted on individual
# lines or following the machine name denoted by a '#' symbol.
#
# For example:
#
#      102.54.94.97     rhino.acme.com          # source server
#       38.25.63.10     x.acme.com              # x client host

127.0.0.1       localhost

Open in new window

0
 
scm0smlAuthor Commented:
using the ip does work yes!!

what would the exact name of the hosts file be, I will have to do a search for it....
0
 
wdosanjosCommented:
It's called hosts.  It should be on C:\WINDOWS\system32\drivers\etc.
0
The 14th Annual Expert Award Winners

The results are in! Meet the top members of our 2017 Expert Awards. Congratulations to all who qualified!

 
scm0smlAuthor Commented:
excellent, worked a treat!!

any idea why it suddenly stopped working?

the local host address was suddenly 0.0.0.0
0
 
wdosanjosCommented:
I don't know why it happened.  Generally there are no processes that write to that file.
0
 
scm0smlAuthor Commented:
mmmm very strange then.

OK thanks for your help, saved my life!!
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

The 14th Annual Expert Award Winners

The results are in! Meet the top members of our 2017 Expert Awards. Congratulations to all who qualified!

  • 3
  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now