SuperJediMedia Posted May 6, 2003 Share Posted May 6, 2003 Hey. I type http://localhost in the address bar, but it isn't working for me!! It should right? I HAVE VB.NET + Netframe + Windows XP Profesional So what can be the reason? How can I check out the problem? Greatly appreciated if you can help :) Link to comment Share on other sites More sharing options...
0 Chipi Posted May 6, 2003 Share Posted May 6, 2003 You don't have a server ruunning on port 80 ? Link to comment Share on other sites More sharing options...
0 SuperJediMedia Posted May 6, 2003 Author Share Posted May 6, 2003 Oh.... actually I don't run a server, so that's the problem you think? I am trying to program a ASP.NET application But it does have C:\inetpub folder though Link to comment Share on other sites More sharing options...
0 ramesees Posted May 6, 2003 Share Posted May 6, 2003 You need in install IIS Go to Add/Remove Programs->Add addtional Windows Components->IIS Have you XP CD handy Once this is installed http://localhost will work and show you the default page for IIS 5.1 Link to comment Share on other sites More sharing options...
0 kcsJ Posted May 6, 2003 Share Posted May 6, 2003 Not sure if this helps, but i remember i did as below. 1.Click Start, and then click Run. 2.In the Run dialog box, in the Open box, type net stop iisadmin and then click OK. 3.Click Start, and then click Run. 4.In the Open box, type net start w3svc, and then click OK. Link to comment Share on other sites More sharing options...
0 uniacid Posted May 6, 2003 Share Posted May 6, 2003 It should run automatically if you installed it when you insrtalled .net Link to comment Share on other sites More sharing options...
0 SuperJediMedia Posted May 6, 2003 Author Share Posted May 6, 2003 (edited) You need in install IISGo to Add/Remove Programs->Add addtional Windows Components->IIS Have you XP CD handy Once this is installed http://localhost will work and show you the default page for IIS 5.1 I have that Installed, but it could be corrupted, should I try to uninstall it and reinstall? Or is there a better way to find out? I don't want to do that, and it doesn't end up help anything. And, is it safe to delete the whole C:\inetpub folder, and will it regenerate itself when required like a lot of other settings (IE Cache folder, Windows Update Folder) ? Edited May 6, 2003 by JediXAngel Link to comment Share on other sites More sharing options...
0 SuperJediMedia Posted May 6, 2003 Author Share Posted May 6, 2003 What are some of the services required to be started, cuz I followed that viper dude's guide to disable some services. But, I don't think I disabled a required service though, I dunno... Link to comment Share on other sites More sharing options...
0 SuperJediMedia Posted May 6, 2003 Author Share Posted May 6, 2003 (edited) Not sure if this helps, but i remember i did as below.1.Click Start, and then click Run. 2.In the Run dialog box, in the Open box, type net stop iisadmin and then click OK. 3.Click Start, and then click Run. 4.In the Open box, type net start w3svc, and then click OK. Yes I followed this, but http://localhost still doesn't work :( No Error msgs at all though. Edited May 6, 2003 by JediXAngel Link to comment Share on other sites More sharing options...
0 alpoinacan Posted May 6, 2003 Share Posted May 6, 2003 Hi, See if you can get there by typing in 127.0.0.1. Make sure you have your home directory and default pages listed properly in properties. Administrative Tools, Internet Services Manager, go into your default web site and make sure you have all the properties set properly. When you are done, make sure you install the url scan tool!! Link to comment Share on other sites More sharing options...
0 kowcop Posted May 6, 2003 Share Posted May 6, 2003 try http://127.0.0.1 that will tell you if the service is installed properly.. if that works then the localhost host header isnt working or there.. or your HOSTS file doesnt contain an entry for localhost 127.0.0.1 Link to comment Share on other sites More sharing options...
0 SuperJediMedia Posted May 6, 2003 Author Share Posted May 6, 2003 Internet Service Manager? I don't got that, I have Internet Information services instead I saw this article I did receive a Error 52 when I did net view And whenever I do http://localhost or http://127.0.0.1 I do get website found. waiting for reply.... message, and it just waits there Link to comment Share on other sites More sharing options...
0 SuperJediMedia Posted May 6, 2003 Author Share Posted May 6, 2003 try http://127.0.0.1 that will tell you if the service is installed properly.. if that works then the localhost host header isnt working or there.. or your HOSTS file doesnt contain an entry for localhost 127.0.0.1 Yes it is there but it says 127.0.0.1 localhost instead of localhost 127.0.0.1 Link to comment Share on other sites More sharing options...
0 SuperJediMedia Posted May 6, 2003 Author Share Posted May 6, 2003 Hi,See if you can get there by typing in 127.0.0.1. Make sure you have your home directory and default pages listed properly in properties. Administrative Tools, Internet Services Manager, go into your default web site and make sure you have all the properties set properly. When you are done, make sure you install the url scan tool!! See the attachment... anything wrong there? Link to comment Share on other sites More sharing options...
0 +chorpeac MVC Posted May 6, 2003 MVC Share Posted May 6, 2003 From that post it doesn't look like anything is wrong. I couldn't tell from the above posts what the error is. What error are you getting? Did you install Visual Studio.NET or are you just using a text editor? If you can see Internet Service Manager in the admin tools, then you should have IIS installed. Pull up a command prompt start->run and type cmd enter. The hit iisreset. This will restart IIS. Try again. Also, make sure there is a default document in the c:\inetpub\wwwroot\ directory, or you won't get anything. Link to comment Share on other sites More sharing options...
0 SuperJediMedia Posted May 6, 2003 Author Share Posted May 6, 2003 Still doesn't work, ran that and it says successful all the way. Ummm what about http://support.microsoft.com/default.aspx?...kb;en-us;254210 though? I said I received an Error 52, it says I need to rename my computer in the bottom. So, should I do that? Is there bad side effects by changing my computer name? Can IIS 6.0 be downloaded yet? Yes, Visual Studio.NET was installed back in Febuary. Link to comment Share on other sites More sharing options...
0 Qwakui Posted May 6, 2003 Share Posted May 6, 2003 Internet Service Manager?I don't got that, I have Internet Information services instead Internet service manager in Win2K, Internet Information Services in WinXP. Link to comment Share on other sites More sharing options...
0 SuperJediMedia Posted May 6, 2003 Author Share Posted May 6, 2003 KB Q254210 SYMPTOMSWhen you type net view \\localhost, and then press ENTER, you may receive the following error message: Windows NT 4.0 Error 53 "The network path was not found." Windows 2000 Error 52 "A duplicate name exists on the network." CAUSE This issue can occur because the name localhost is resolved to the loopback IP Address 127.0.0.1 and NetBIOS over TCP/IP (NetBT) does not bind to the loopback address. In Windows 2000, the SMB device binds to any IP address (this is why the 'net view' command to the loopback address works in Windows 2000 and does not work in Windows NT) but, when the new SMB device establishes the connection, it checks that it connected to the right computer by checking the end point name. This check fails because 'localhost' is not the name of the local computer. RESOLUTION To resolve this issue, use the name of the computer to see the shares of the local computer. You can use the Hostname command to obtain the name of the computer. STATUS This behavior is by design. Link to comment Share on other sites More sharing options...
0 SuperJediMedia Posted May 6, 2003 Author Share Posted May 6, 2003 Internet Service Manager?I don't got that, I have Internet Information services instead Internet service manager in Win2K, Internet Information Services in WinXP. Same s***, different name ... that's what I thoght... Hehe ;) .... :( Why isn't //localhost working? Arghhh!!!!! P.S: Exact message when I run net view \\localhost C:\windows>net view \\localhost System error 52 has occurred. You were not connected because a duplicate name exists on the network. Go to Sys tem in Control Panel to change the computer name and try again. Link to comment Share on other sites More sharing options...
0 alpoinacan Posted May 6, 2003 Share Posted May 6, 2003 There is not really an issue here as far as I can see. Go to your browser, type in 127.0.0.1 and you should be able to see your home page. Do you have a firewall running??? Link to comment Share on other sites More sharing options...
0 alpoinacan Posted May 6, 2003 Share Posted May 6, 2003 Forget net view for now, type in your browser, 127.0.0.1 and you should see your homepage. Then lets go from there. ok?? Link to comment Share on other sites More sharing options...
0 +primortal Subscriber² Posted May 6, 2003 Subscriber² Share Posted May 6, 2003 I get the same thing (error 52 doing a net view \\localhost) on my pc and I still can see my local webserver Do you have \system32\drivers\etc\hosts file? If so does it have this entry? If not, you'll have to add it. 127.0.0.1 localhost Do you see anything in the eventlogs for IIS? Can you try to get to the website via its hostname instead of localhost (http://hostname)? IIS 6.0 from what I understand will not be available for XP. Link to comment Share on other sites More sharing options...
0 alpoinacan Posted May 6, 2003 Share Posted May 6, 2003 NET VIEW Locahost is supposed to do that. net view 127.0.0.1 should return your shares. Try net view 127.0.0.1, but better yet, go to your browser and type in 127.0.0.1 and go from there. Do you have a firewall running? Link to comment Share on other sites More sharing options...
0 SuperJediMedia Posted May 6, 2003 Author Share Posted May 6, 2003 C:\windows>net view 127.0.0.1 There are no entries in the list. No Firewall. Link to comment Share on other sites More sharing options...
0 +primortal Subscriber² Posted May 6, 2003 Subscriber² Share Posted May 6, 2003 same here, JediXAngel read my post above... Link to comment Share on other sites More sharing options...
0 +chorpeac MVC Posted May 6, 2003 MVC Share Posted May 6, 2003 Wow, sounds like there is a little more going on with this besides a little iis configuration problem. I'm unfortunately not familiar with all this NetBIOS stuff. Sorry... To me it seems like the IIS configuration for a normal machine is fine. Link to comment Share on other sites More sharing options...
Question
SuperJediMedia
Hey. I type http://localhost in the address bar, but it isn't working for me!!
It should right?
I HAVE VB.NET + Netframe + Windows XP Profesional
So what can be the reason? How can I check out the problem?
Greatly appreciated if you can help :)
Link to comment
Share on other sites
67 answers to this question
Recommended Posts