Not able to access searxng docker through url #160
Replies: 11 comments
-
Hello @lucaliceti Did you do everything that was written in the “How use it” section ?
Surely you can find help on Matrix too (because your problem is not really an issue imo) : https://matrix.to/#/#searxng:matrix.org (By the way, it's not a good idea to launch docker-compose stack with a |
Beta Was this translation helpful? Give feedback.
-
I went through all the directions, I simply get a blank page when entering |
Beta Was this translation helpful? Give feedback.
-
So, out of curiousity, when you're going into your browser are you doing: |
Beta Was this translation helpful? Give feedback.
-
Going to 127.0.0.1:8080. Gives me a "Connection was reset" error. But "localhost" or "127.0.0.1" gives me a blank page with no visible errors: |
Beta Was this translation helpful? Give feedback.
-
Maybe are you trying to access from other different host than docker is installed from? If you have a headless docker host (so the only way to manage it is from other host), then the "127.0.0.1" isnt for you.
This way will listen on all IPs, and should fix your problem. |
Beta Was this translation helpful? Give feedback.
-
I change the ip address in the docker-compose.yaml file to 0.0.0.0:8080:8080, then attempted to access it by typing 0.0.0.0 and it gave me a blank page. 0.0.0.0:8080 gave me "The connection was reset" and 0.0.0.0:8080:8080 just searched it into google. Should I try any other way? |
Beta Was this translation helpful? Give feedback.
-
no no. you are too wrong and not understanding what that zeros does in docker-compose file. apart of this, YOU have to set the SERVER IP + PORT. Or if you are trying to access your server from outside lan, then: |
Beta Was this translation helpful? Give feedback.
-
btw, 127.0.0.1 is an ip wich ALWAYS mean "myself", wherever you are working on. so 127.0.0.1 cant access to any other machine than itself |
Beta Was this translation helpful? Give feedback.
-
I am confused on what I am supposed to do. I am trying to self host searxng, thus what I mean with localhost, I am running docker-compose up in the searxng-docker directory, with no errors, then trying to access it through localhost (getting Unable to connect) or 127.0.0.1 (blank page). I have no intent on running it on a server. |
Beta Was this translation helpful? Give feedback.
-
I want to help you. Just tell me the context where you are developing.
You could paste here your whole docker-compose.yaml and .env files, or directly share the files. Dont worry about your privacy, there is not any sensitive data, except if you filled the SEARXNG_HOSTNAME string with a public domain, it this case please change it to XXXXXX or what else before posting. Lets see if I can help you |
Beta Was this translation helpful? Give feedback.
-
BTW, now we are in the future 😏 and you could use the ChatGPT IA to learn more about almost any thing. He/She/It can help you sometimes better than a forum post, with real time examples and pointing you in the right direction. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Trying to access searxng after starting it with
sudo docker-compose up -d
And was able to get searxng, redis, and caddy running. But trying to access the two addresses found in the default yaml file,http://localhost:80
gives me a blank page, and127.0.0.1:8080:8080
just gets googled. Inputing '127.0.0.1' also just gives me a blank page.Beta Was this translation helpful? Give feedback.
All reactions