|
|
 |
| Internet Information Services Limit this to IIS questions and posts. ASP/ASP.NET questions should still go in the ASP/ASP.NET forums. |
Welcome to the p2p.wrox.com Forums.
You are currently viewing the Internet Information Services section of the Wrox p2p Programmer to Programmer discussion community. This is a community of more than 40,000 computer programmers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining our free Wrox p2p community you can post your own programming questions and respond to other programmers’ questions. Registered users also don't have to see the ads that are displayed to guests. Registration is fast, simple and absolutely free so please, join today!
Join today and post to win prizes! Post more to increase your chances of being Wrox’s top poster of the month.
|
 |

February 24th, 2007, 07:07 PM
|
|
Registered User
|
|
Join Date: Feb 2007
Location: , , .
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
resolving localhost
For some reason my comp won't resolve localhost. 127.0.0.1 and actual ip work fine. Running XP Pro SP2, iis5, .NET 2.0, SQLExpress, VS Express.
when i try to browse to localhost, or localhost/..., i get nothing.
I thank you in advance..
|

February 26th, 2007, 10:44 AM
|
|
Friend of Wrox
|
|
Join Date: Dec 2003
Location: Oxford, , United Kingdom.
Posts: 464
Thanks: 0
Thanked 2 Times in 2 Posts
|
|
you should edit your hosts file so that it contains a line like:
localhost 127.0.0.1
Its probably in %windir%/system32/drivers/etc
Should be there by default so it'll be worth doing an a/v scan to check nothing has been messing with your hosts file.
--
Charlie Harvey's website - linux, perl, java, anarchism and punk rock: http://charlieharvey.org.uk
|

February 26th, 2007, 10:54 AM
|
|
Wrox Author
Points: 12,827, Level: 49 |
|
|
Join Date: Oct 2005
Location: Akron, Ohio, USA.
Posts: 4,029
Thanks: 1
Thanked 42 Times in 42 Posts
|
|
Cider is correct, by default your host file looks like this:
127.0.0.1 localhost
so something doesnt seem right.
================================================== =========
Read this if you want to know how to get a correct reply for your question:
http://www.catb.org/~esr/faqs/smart-questions.html
^^Took that from planoie's profile^^
^^Modified text taken from gbianchi profile^^
================================================== =========
Technical Editor for: Professional Search Engine Optimization with ASP.NET
http://www.wiley.com/WileyCDA/WileyT...470131470.html
Discussion:
http://p2p.wrox.com/topic.asp?TOPIC_ID=56429
|

February 26th, 2007, 11:13 AM
|
|
Registered User
|
|
Join Date: Feb 2007
Location: , , .
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Ok, i have checked my host file - it is cool. it looked just like you said it would. I made some other entries in it and tested them to make sure the hosts file i was looking at was the right one. And that it was being used.
I just figured out I can ping localhost - it comes back as ::1. My understanding is that ::1 is supposed to be shorthand for 127.0.0.1. I have my firewall off - it does interfere if i ping my computer ip. But it doesn't help my browser. I cannot deal with localhost. it just sits there forever. 127.0.0.1 works fine, my pc's ip address works fine. ::1 in the browser doesn't work.
Now, what is an A/V scan? Sorry. I haven't heard of it. But I am willing to try it!
Reply from ::1: time<1ms
Reply from ::1: time<1ms
Reply from ::1: time<1ms
Reply from ::1: time<1ms
Thank you!!
|

February 26th, 2007, 11:19 AM
|
|
Wrox Author
Points: 12,827, Level: 49 |
|
|
Join Date: Oct 2005
Location: Akron, Ohio, USA.
Posts: 4,029
Thanks: 1
Thanked 42 Times in 42 Posts
|
|
A/V == Anti Virus.
Unfortunately when I ping localhost I return:
Reply from 127.0.0.1: bytes=32 time<1ms TTL=128
run this command netstat -a
is IIS listening on some other port then 80? (8080 for example)
Are you running another server, WAMP for example, on the same box as IIS?
================================================== =========
Read this if you want to know how to get a correct reply for your question:
http://www.catb.org/~esr/faqs/smart-questions.html
^^Took that from planoie's profile^^
^^Modified text taken from gbianchi profile^^
================================================== =========
Technical Editor for: Professional Search Engine Optimization with ASP.NET
http://www.wiley.com/WileyCDA/WileyT...470131470.html
Discussion:
http://p2p.wrox.com/topic.asp?TOPIC_ID=56429
|

February 26th, 2007, 12:34 PM
|
|
Registered User
|
|
Join Date: Feb 2007
Location: , , .
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
uh, yeah. Anti-Virus makes sense. Feeling a little sheepish right now...
No, I'm not running any other servers. I am trying to get .NET 2.0 up. Works fine except that it calls admin pages via localhost/... all the time, so none of the admin pages work. And visual studio puts the code I am working on into a browser prefaced with localhost.
But mainly it just pisses me off cuz I should be able to figure this out. I really do appreciate your help!
when i run the netstat command i am having trouble interpreting what i see. To me it looks like it isn't listening at all.
Can you tell me what I should be looking for? I ran it with the -b switch, also, but I still don't understand exactly what I am looking at. Sorry to be dense.
http://hubya.com/images/ss.jpg
this is my netstat results.
|
| Thread Tools |
Search this Thread |
|
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
|
 |