Version: 4.2.1 (using KDE 4.2.1) OS: MS Windows Installed from: MS Windows I can browse the internet, but when I try to load pages on my apache web server using http://localhost/ or http://mypcname/, all I get is a 30 second attempt to connect (which doesn't register as a request in the server logs), followed by the following response: The requested operation could not be completed. Connection to server refused. Additional information: localhost: unknown error. These requests are not registering as a GET at the server before the error page appears. It doesn't seem to be a Windows Defender or firewall issue. I can get through straight away using http://127.0.0.1/ (but my server rejects numerical host names). All these hostnames and numbers are in /windows/hosts, but I don't have and don't know if there should be a hosts file in c:/kde4/etc or appdate/share/config. I typed in one or two addresses in the local ip range that don't exist on this machine and I get the same error. Konqueror doesn't tell me that the host can't be found. The machine has two network cards, btw: one for the LAN and one for a broadband router; and I have Konqueror set up as 'use Firefox settings' and 'direct connection to internet.' I disabled the LAN network card and disconnected the lead, to no avail. 127.0.0.1 brings up a 403:Forbidden response from my server straight away, which is as expected (numerical host names blocked). But localhost and mypcname just spend around 30 seconds trying to connect, but not registering as a GET at the server before the error page appears. Can't disable the router just now as the server's online. I also closed other web browsers. I did wonder whether it might be something to do with having a multi-homed machine (ie multiple addresses). Or to do with host lookup.
I'm using Vista 32-bit. ET.
Managed to get through to localhost once today after a long delay. No images were displayed on the page. Accidentally typing in locahost (mis-spelt) brought up a host not found error.
I'm having a similar problem. System is: Linux <my_machine_name> 2.6.26-1-amd64 #1 SMP Sat Jan 10 17:57:00 UTC 2009 x86_64 GNU/Linux Konqueror 3.5.9 (using KDE 3.5.10) Apache is the local http server and has the following permissions: Order Deny,Allow Deny from all Allow from localhost Allow from <my_machine_name>.<my.local.domain> The /etc/hosts contains: 127.0.0.1 localhost 127.0.1.1 <my_machine_name>.<my.local.domain> <my_machine_name> In konqueror I can access the server by: http://127.0.0.1/ http://127.0.1.1/ http://<my_machine_name>/ http://<my_machine_name>.<my.local.domain>/ but not (403 forbidden) by: http://localhost/ In firefox, links, lynx and wget I can access the server by all the mentioned addresses (localhost included).
works as expected on windows.