0

I am getting this error when I try to integrate meilisearch on laravel forge. I have 2 servers, one for the app and the other one is for the meilisearch. on laravel forge, on networking tab, I have ticked "can connect to" also.

production.ERROR: cURL error 7: Failed to connect to 146.190.87.214 port 7700: Connection refused (see https://curl.haxx.se/libcurl/c/libcurl-errors.html) for http://146.190.87.214:7700//indexes/songs/search {"exception":"[object] (MeiliSearch\Exceptions\CommunicationException(code: 0): cURL error 7: Failed to connect to 146.190.87.214 port 7700: Connection refused

this is my .env

SCOUT_DRIVER=meilisearch
SCOUT_QUEUE=true
MEILISEARCH_HOST=http://146.190.87.214:7700/
MEILISEARCH_KEY=****

Can anyone help me please?

I tried this like someone has suggested already, but it is not working and few other things.

sudo su
echo "deb [trusted=yes] https://apt.fury.io/meilisearch/ /" > /etc/apt/sources.list.d/fury.list

apt update

apt install meilisearch-http=0.20.0 -V

meilisearch

and

php artisan storage:link

php artisan passport:install
Josh
  • 1
  • 1

0 Answers0