Microsoft IIS
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
 
User Name:
Password:
Remember me
Go Back   ASP Free ForumsSystem AdministrationMicrosoft IIS

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread ASP Free Forums Sponsor:
  #1  
Old October 18th, 2004, 05:04 PM
vac2004 vac2004 is offline
Registered User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Feb 2004
Posts: 12 vac2004 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Question Localhost works but IP or Name does not

I am having IIS 6.0 on Windows 2003. If I do browse or use localhost it works in IIS but if I give IP or Machine name it does not work. I am able to ping the machine by name though. The default.html has a line <META HTTP-EQUIV="refresh" CONTENT="0;URL=/site/test.asp">. When I use name or IP all I see is a blank page and when I view source I could this line so probably the URL is not working and I do not know why. Any input regarding this problem is much appreciated.

Thanks,
vac2004

Reply With Quote
  #2  
Old October 18th, 2004, 06:29 PM
Doug G Doug G is offline
Grumpier Old Moderator
ASP Free God 11th Plane (10000 - 10499 posts)
 
Join Date: Sep 2003
Posts: 10,143 Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level) 
Time spent in forums: 3 Weeks 4 Days 22 h 23 m 39 sec
Reputation Power: 181
Check for any firewall blockage.
__________________
======
Doug G
======
I didn't attend the funeral, but I sent a nice letter saying I approved of it. --Mark Twain

Reply With Quote
  #3  
Old October 18th, 2004, 06:45 PM
vac2004 vac2004 is offline
Registered User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Feb 2004
Posts: 12 vac2004 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Quote:
Originally Posted by Doug G
Check for any firewall blockage.

Thank you for the response. There isn't any firewall blockage. Also the same problem persists on 3 different installs involving IIS 6 and 2003. I believe it is somekind of setting that needs to be done but I don't know what it is. Basically the redirection not seem to work when I use IP or Name. If anyone has experienced this or have an idea please let me know.

Thanks,
vac2004

Reply With Quote
  #4  
Old October 18th, 2004, 10:56 PM
Doug G Doug G is offline
Grumpier Old Moderator
ASP Free God 11th Plane (10000 - 10499 posts)
 
Join Date: Sep 2003
Posts: 10,143 Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level) 
Time spent in forums: 3 Weeks 4 Days 22 h 23 m 39 sec
Reputation Power: 181
Post a sample of what works and what doesn't. I thought you were just entering the ip in your browser directly. Perhaps you have a routing problem and/or DNS problem that's keeping your redirect from working to an IP or url.

Reply With Quote
  #5  
Old October 19th, 2004, 06:09 PM
vac2004 vac2004 is offline
Registered User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Feb 2004
Posts: 12 vac2004 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Quote:
Originally Posted by Doug G
Post a sample of what works and what doesn't. I thought you were just entering the ip in your browser directly. Perhaps you have a routing problem and/or DNS problem that's keeping your redirect from working to an IP or url.


Thank you again for the response. I actually found the problem. The problem was not on IIS but on IE. The META REFRESH was disabled on the browser. I enabled it and then it works fine. But I still don't understand how would //localhost/mysite would work and //machinename/mysite would not.

Thanks,
vac2004

Reply With Quote
  #6  
Old October 31st, 2004, 12:56 AM
andikaw andikaw is offline
Registered User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Oct 2004
Posts: 1 andikaw User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Exclamation ASP.net work in localhost but not in machinename.

Quote:
Originally Posted by vac2004
Thank you again for the response. I actually found the problem. The problem was not on IIS but on IE. The META REFRESH was disabled on the browser. I enabled it and then it works fine. But I still don't understand how would //localhost/mysite would work and //machinename/mysite would not.

Thanks,
vac2004


I have problem same as vac2004 but it happen to my asp.net application, when I run the aspx file using http://localhost/time.aspx, it running well, but when I browse it using http://machinename/time.aspx they ask me to enter user name and password, and I entering my administrator name and password, and work fine, but why they ask me for user name and password..?

And it happen also on all of my virtual hosting under IIS, they ask me for username and password, but only administrator password will accepted, the others is not.

Please.... Anyone can help my problem..

Thanks
Andi

Reply With Quote
Reply

Viewing: ASP Free ForumsSystem AdministrationMicrosoft IIS > Localhost works but IP or Name does not


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 2 hosted by Hostway
Stay green...Green IT