xdg-utils use KDE native tools to open URLs. In your case, kde-open5 is invoked which hangs on networking request and than fails. More clear example:
$ kde-open5 http://192.0.2.42:8080/ ** Package changed: xdg-utils (Ubuntu) => kde-cli-tools (Ubuntu) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1889477 Title: xdg-open on Kubuntu 20.04 reports 'Could not connect to localhost: Connection refused' if localhost service not already up To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/kde-cli-tools/+bug/1889477/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
