konqueror can not resolve 'localhost' when interface has no IP addr

Tobias C. Berner tcberner at freebsd.org
Wed Apr 19 13:22:06 UTC 2017


Can you try to disable the 'Network Status' service of KDE? (probably:
systemsettings->startup and shutdown->background services -- I can't
remeber kde4 :D) and try again?

On 19 April 2017 at 14:28, Matthias Apitz <guru at unixarea.de> wrote:

> El día miércoles, abril 19, 2017 a las 11:20:27a. m. +0200, Matthias Apitz
> escribió:
>
> > El día miércoles, abril 19, 2017 a las 10:34:31a. m. +0200, Tobias C.
> Berner escribió:
> >
> > > There seems to be a similiar upstream bug report
> > > https://bugs.kde.org/show_bug.cgi?id=187731
> >
> > I checked the issue, it has less or nothing todo with my problem. In my
> > case, the konqueror response about failing name resolve is done
> > immediately. The apache in my case is as well not contacted.
> >
> > > Can you try 127.0.0.1 instead of localhost?
>
> Here you can see (while offline) how wget and konqueror do:
>
> $ ifconfig wlan0
> wlan0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu
> 1500
>         ether 90:48:9a:92:9e:43
>         nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
>         media: IEEE 802.11 Wireless Ethernet autoselect (autoselect)
>         status: no carrier
>         ssid "" channel 140 (5700 MHz 11a)
>         regdomain 108 indoor ecm authmode WPA1+WPA2/802.11i privacy MIXED
>         deftxkey UNDEF txpower 30 bmiss 7 mcastrate 6 mgmtrate 6 scanvalid
> 60
>         wme burst roaming MANUAL bintval 0
>         groups: wlan
> $ wget http://localhost/
> --2017-04-19 13:26:42--  http://localhost/
> Resolving localhost... 127.0.0.1, ::1
> Connecting to localhost|127.0.0.1|:80... connected.
> HTTP request sent, awaiting response... 200 OK
> Length: 45 [text/html]
> Saving to: 'index.html.1'
>
> index.html.1             100%[==================================>]
> 45  --.-KB/s    in 0s
>
> 2017-04-19 13:26:42 (2.95 MB/s) - 'index.html.1' saved [45/45]
>
> $ konqueror http://localhost/
>
> The result in konqueror is visible here: http://www.unixarea.de/
> konqueror1.png
> the reaction is in the same second (i.e. no DNS timeout).
>
>         matthias
> --
> Matthias Apitz, ✉ guru at unixarea.de, ⌂ http://www.unixarea.de/> +49-176-38902045
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-freebsd/attachments/20170419/2cc5cde4/attachment.html>


More information about the kde-freebsd mailing list