Web Server Configuration
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
User Name:
Password:
Remember me
 
Go Back   Dev Articles Community ForumsWeb DesignWeb Server Configuration

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Display Modes
 
Unread Dev Articles Community Forums Sponsor:
Ajax Application Generator Generate database and reporting .NET Web apps in minutes. Quickly create visually stunning, feature-rich apps that are easy to customize and ready to deploy. Download Now!
  #1  
Old November 21st, 2004, 05:35 AM
JohnDoe74 JohnDoe74 is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Nov 2004
Posts: 4 JohnDoe74 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
localhost works but 127.0.0.1 not?

I install apache web server and I have strange problem.
my localhost works fine but when I try 127.0.0.1 I get
error page it says (111) connection refused
can anyone help me with this??

Reply With Quote
  #2  
Old November 22nd, 2004, 12:17 PM
MadCowDzz's Avatar
MadCowDzz MadCowDzz is offline
I'm Internet Famous
Dev Articles Frequenter (2500 - 2999 posts)
 
Join Date: Jan 2003
Location: Toronto, Canada
Posts: 2,890 MadCowDzz User rank is Lance Corporal (50 - 100 Reputation Level)MadCowDzz User rank is Lance Corporal (50 - 100 Reputation Level)MadCowDzz User rank is Lance Corporal (50 - 100 Reputation Level) 
Time spent in forums: 1 Week 16 h 4 m 48 sec
Reputation Power: 8
Which operating system and which version of Apache?

What happens if you http://(your-ip-address) ?

Reply With Quote
  #3  
Old November 23rd, 2004, 12:10 PM
JohnDoe74 JohnDoe74 is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Nov 2004
Posts: 4 JohnDoe74 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Quote:
Originally Posted by MadCowDzz
Which operating system and which version of Apache?

What happens if you http://(your-ip-address) ?
Everything works( ping,my dyndns adress etc.) exept
127.0.0.1!!! ping 127.0.0.1 works same as localhost but when I try on ie only localhost
works. I have three computers and one is old server this machine that mention is not
working. it was my intention to do this machine new server. Old server works fine but
its only 400mhz and I want porwerful machine. only difference between these servers
is 700mhz and winxp integrated sp1. old server is normal winxp (no integrate). My plan is to
do new winxp installation (not integrated) and watch what happens.

Reply With Quote
  #4  
Old November 24th, 2004, 07:42 AM
MadCowDzz's Avatar
MadCowDzz MadCowDzz is offline
I'm Internet Famous
Dev Articles Frequenter (2500 - 2999 posts)
 
Join Date: Jan 2003
Location: Toronto, Canada
Posts: 2,890 MadCowDzz User rank is Lance Corporal (50 - 100 Reputation Level)MadCowDzz User rank is Lance Corporal (50 - 100 Reputation Level)MadCowDzz User rank is Lance Corporal (50 - 100 Reputation Level) 
Time spent in forums: 1 Week 16 h 4 m 48 sec
Reputation Power: 8
Is your problem only in IE?
Have you tried other browsers?

I think I had solved this problem once and it was a setting in... the exact option escapes me right now, I'll look into it after...

Which version of Apache are you running?

Reply With Quote
  #5  
Old November 24th, 2004, 10:52 AM
JohnDoe74 JohnDoe74 is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Nov 2004
Posts: 4 JohnDoe74 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Quote:
Originally Posted by MadCowDzz
Is your problem only in IE?
Have you tried other browsers?

I think I had solved this problem once and it was a setting in... the exact option escapes me right now, I'll look into it after...

Which version of Apache are you running?
now I have foxserv I think its running apache2.0, but I also tried abyss web server and same thing with that too.
for beginning problem arise when I install abyss and tried access "abyss consol" it use 127.0.0.1:9999 adress but as we already
know that wasnt work. localhost works in abyss too but localhost:9999 not. localhost:80 works fine! so I install apache because
my present server is running apache 2.0

Reply With Quote
  #6  
Old November 24th, 2004, 11:26 AM
JohnDoe74 JohnDoe74 is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Nov 2004
Posts: 4 JohnDoe74 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Netscape works! So problem is in ie.......

any ideas how can I configure ie??

Reply With Quote
  #7  
Old December 6th, 2004, 04:20 PM
phpPrgrmmr phpPrgrmmr is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Dec 2004
Posts: 11 phpPrgrmmr User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Exclamation Problem not with IE!

It seems to me that your problem is not with IE, but with Apache. Look in your httpd.conf file. Look for the section that tells Apache what port to listen on. the section should look like this:

#
# Listen: Allows you to bind Apache to specific IP addresses and/or
# ports, instead of the default. See also the <VirtualHost>
# directive.
#
# Change this to Listen on specific IP addresses as shown below to
# prevent Apache from glomming onto all bound IP addresses (0.0.0.0)
#
#Listen 12.34.56.78:80
Listen 80


You can disregard everything that has a # sign in front of it, because this is simply a comment and has no effect whatsoever in how Apache runs. You DO NEED to look at the line that says:

Listen 80

This line tells your Apache server to listen for connections on port 80, which is the default HTTP port. That is most likely why localhost:80 works. When you type localhost:80 what your are doing is telling your browser to connect to the localhost on port 80. In essence you are specifying a port to connect on. Similarly, if yuo typed localhost:8080 you would be telling your browser to connect to the localhost on port 8080. Have your tried tying 127.0.0.1:80? See if that works. If not start your command prompt and run the program ipconfig. From this program you will get a printout of your IP Address. If 127.0.0.1:80 does not work then try typing your IP Address into your browser and see what happens. In this case you would type something like

http://102.10.1.45

If thgis does not work then try your IP address with the port like:

http://102.10.1.45:80

If none of that works then I guess you are just stuck typing localhost all the time instead of 127.0.0.1. Well, I hope all or at least part of the above information helps to solve your problem.

-Matt

Reply With Quote
  #8  
Old December 7th, 2004, 08:03 AM
MadCowDzz's Avatar
MadCowDzz MadCowDzz is offline
I'm Internet Famous
Dev Articles Frequenter (2500 - 2999 posts)
 
Join Date: Jan 2003
Location: Toronto, Canada
Posts: 2,890 MadCowDzz User rank is Lance Corporal (50 - 100 Reputation Level)MadCowDzz User rank is Lance Corporal (50 - 100 Reputation Level)MadCowDzz User rank is Lance Corporal (50 - 100 Reputation Level) 
Time spent in forums: 1 Week 16 h 4 m 48 sec
Reputation Power: 8
If it works in netscape then it can't be the server...

In internet explorer, go to Tools > Internet Options...
under the Connections Tab click Lan Settings

Do you have any of these boxes checked?
Mine are all unchecked, and I think this is how I originally solved my problem.

Reply With Quote
Reply

Viewing: Dev Articles Community ForumsWeb DesignWeb Server Configuration > localhost works but 127.0.0.1 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 4 hosted by Hostway