

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
Worst case scenario:
