Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

Dave Wize's avatar

Connect Meilisearch on forge to a shared hosting provider

Hello.

I have a meilisearch server configured on forge.

But I cannot connect to the server from my shared hosting provider (a cPanel)

I have configured the meilisearch env vars, and the acext same credantials work on anther forge server with the same laravel scout project installed, but somehow it doesnt work on my non-forge server.

I have made sure that the 7700 port is allowed for any trafic and I also whitelisted my IP, but I still have the same error. Here is the Laravel error

cURL error 7: Failed to connect to 10.116.0.3 port 7700 after 1010 ms: Couldn't connect to server (see https://curl.haxx.se/libcurl/c/libcurl-errors.html) for http://10.116.0.3:7700/indexes/accounts/search

And here is the log from the meilisearch after trying to perform a search on my server

Jun 13 03:49:07 MeiliSearch sshd[1180818]: Accepted publickey for root from 45.55.124.124 port 40102 ssh2: RSA SHA256:+aqjnhJSgQFNvhEj+DrXB2EBQo1yDv24e1EeshN7Mik
Jun 13 03:49:07 MeiliSearch sshd[1180818]: pam_unix(sshd:session): session opened for user root(uid=0) by (uid=0)
Jun 13 03:49:07 MeiliSearch systemd-logind[691]: New session 11429 of user root.
Jun 13 03:49:07 MeiliSearch systemd: pam_unix(systemd-user:session): session opened for user root(uid=0) by (uid=0)

I'm not an advanced server admin and need to figure out the issue.

Any help is greatly appreciated.

0 likes
0 replies

Please or to participate in this conversation.