konqueror can not resolve 'localhost' when interface has no IP addr
Tobias C. Berner
tcberner at freebsd.org
Wed Apr 19 08:34:31 UTC 2017
There seems to be a similiar upstream bug report
Can you try 127.0.0.1 instead of localhost?
On 19 April 2017 at 07:28, Matthias Apitz <guru at unixarea.de> wrote:
> I'm preparing myself to give some talk for which I need some multimedia
> content. To not depend on Internet in the place of the conference, I
> installed in my netbook (FreeBSD 12.0-CURRENT r314251, KDE 4.14, all
> ports compiled from head) a local apache and normally
> konqueror http://localhost/
> works as it should, until (and lucky I tested this) the interface wlan0
> has no IP addr assigned. In this case konqueror says that it can not
> resolve 'localhost' (which of course is in /etc/hosts file and
> /etc/nsswitch.conf says 'hosts: files dns').
> It is enough to set some dummy IP into the interface with:
> # ifconfig wlan0 126.96.36.199
> and this makes konqueror happy resolving 'localhost'. I've watched this
> with truss: /etc/nsswitch.conf is checked, but /etc/hosts not.
> Firefox works in both cases, with and without IP addr in the interface.
> Any idea what's causing this bug?
> Matthias Apitz, ✉ guru at unixarea.de, ⌂ http://www.unixarea.de/ ☎
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the kde-freebsd