Solved

localhost just stopped working debugging .net website

Posted on 2011-02-25
6
357 Views
Last Modified: 2012-05-11
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
Comment
Question by:scm0sml
  • 3
  • 3
6 Comments
 
LVL 23

Accepted Solution

by:
wdosanjos earned 500 total points
ID: 34983943
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
 

Author Comment

by:scm0sml
ID: 34984107
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
 
LVL 23

Expert Comment

by:wdosanjos
ID: 34984124
It's called hosts.  It should be on C:\WINDOWS\system32\drivers\etc.
0
Why You Should Analyze Threat Actor TTPs

After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

 

Author Comment

by:scm0sml
ID: 34984210
excellent, worked a treat!!

any idea why it suddenly stopped working?

the local host address was suddenly 0.0.0.0
0
 
LVL 23

Expert Comment

by:wdosanjos
ID: 34984230
I don't know why it happened.  Generally there are no processes that write to that file.
0
 

Author Comment

by:scm0sml
ID: 34984914
mmmm very strange then.

OK thanks for your help, saved my life!!
0

Featured Post

Highfive Gives IT Their Time Back

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

AJAX ModalPopupExtender has a required property "TargetControlID" which may seem to be very confusing to new users. It means the server control that will be extended by the ModalPopup, for instance, if when you click a button, a ModalPopup displays,…
In .NET 2.0, Microsoft introduced the Web Site.  This was the default way to create a web Project in Visual Studio 2005.  In Visual Studio 2008, the Web Application has been restored as the default web Project in Visual Studio/.NET 3.x The Web Si…
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…
In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're interested in additional methods for monitoring bandwidt…

708 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now