|
|
|||||||||
|
|||||||||
|
|||||||||
| |
|||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Display Modes |
|
|
|
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
|
|||
|
|||
|
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?? |
|
#2
|
||||
|
||||
|
Which operating system and which version of Apache?
What happens if you http://(your-ip-address) ? |
|
#3
|
|||
|
|||
|
Quote:
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. |
|
#4
|
||||
|
||||
|
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? |
|
#5
|
|||
|
|||
|
Quote:
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 |
|
#6
|
|||
|
|||
|
Netscape works! So problem is in ie.......
any ideas how can I configure ie?? |
|
#7
|
|||
|
|||
|
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 |
|
#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. |
![]() |
| Viewing: Dev Articles Community Forums > Web Design > Web Server Configuration > localhost works but 127.0.0.1 not? |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|