In a Laravel 9.19 sail install, meilisearch throws cURL error 7 (Connection refused) #32
Replies: 2 comments
-
Here's my composer.json
docker-composer.yml
and .env (sanitized for sensitive values)
|
Beta Was this translation helpful? Give feedback.
-
Have you managed to find a solution, @stephenr85 ? I'm running into the exact same problem. Basic sail installation, similar config, Laravel 9.54 However, I think this might be a sail/docker configuration issue. If I run
But if I run
/update - I found it, sort of. See https://spatie.be/docs/laravel-site-search/v1/advanced-usage/customizing-meilisearch-settings |
Beta Was this translation helpful? Give feedback.
-
I'm not sure why it's trying to request 127.0.0.1:7700
My .env file has
MEILISEARCH_HOST=http://meilisearch:7700
In a sail shell,
curl http://meilisearch:7700
works correctly.curl http://127.0.0.1:7700
does not.I can also access the Meilisearch UI in my browser at http://localhost:7700.
Beta Was this translation helpful? Give feedback.
All reactions