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
    arrow-up
    8
    ·
    1 year 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).

  • Dima@lemmy.one
    link
    fedilink
    English
    arrow-up
    2
    ·
    edit-2
    1 year 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