I’ve got searxng running nicely, I can successfully set it as my default search (firefox) via clicking the URL bar and adding it to my search list.

However, when i actually search, it’s searching “https://192.168.1.65/search” instead of “http://192.168.1.65:8887/search”. Nothing changes this for the life of me. This results in firefox’s ‘unable to connect’ screen, since the url and http vs https are wrong.

I’m hosting locally on my network server and I have no desire to open it to the outside network.

  • @PleasantAura@lemmy.one
    link
    fedilink
    English
    84 months ago

    You can use nginx or traefik as a reverse proxy locally without opening ports 80 and 443 to the world and host your own local DNS service that points to your server’s IP (and even use a self signed certificate to get HTTPS working).

    • @CrabhandsOP
      link
      English
      14 months ago

      I will attempt this. Thank you!

  • @Dima@lemmy.one
    link
    fedilink
    English
    3
    edit-2
    4 months ago

    You should be able to update the config file for SearXNG to add the port to the URL. Then just restart SearXNG; removing and re-adding the search engine to Firefox should make sure it’s updated to use the correct port. In the settings.yml file, under the server: section is the setting you want to change:
    base_url: http://192.168.1.65:8887/
    Leave port: unchanged