14
submitted 1 year ago by Crabhands@lemmy.ml to c/selfhost@lemmy.ml

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.

you are viewing a single comment's thread
view the rest of the comments
[-] Dima@lemmy.one 3 points 1 year ago* (last edited 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

this post was submitted on 02 Nov 2023
14 points (100.0% liked)

Self Hosted - Self-hosting your services.

11587 readers
27 users here now

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.

Rules

Important

Beginning of January 1st 2024 this rule WILL be enforced. Posts that are not tagged will be warned and if not fixed within 24h then removed!

Cross-posting

If you see a rule-breaker please DM the mods!

founded 3 years ago
MODERATORS