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

TiboriusDev's avatar

No connection with Laravel reverb

Hi,

I use Laravel reverb for a chat. Everything works great locally, but it doesn't work on the web server.

I have set up a Laravel project via Plesk and it runs without any problems. When I start reverb it doesn't get a connection.

Env looks like this.

REVERB_APP_ID=????
REVERB_APP_KEY=???
REVERB_APP_SECRET=???
REVERB_HOST="localhost”
REVERB_PORT=8080
REVERB_SCHEME=http
0 likes
1 reply
Gustavo Grativol's avatar

Hi. In your web server, did you install the supervisor to execute the command? php artisan reverb:start

For it, you need create a file. For example:

  • Create file sudo nano /etc/supervisor/conf.d/reverb.conf
  • Copy and paste this code into file

[program:reverb] process_name=%(program_name)s_%(process_num)02d command=php /path-to-your-laravel-app/artisan reverb:start autostart=true autorestart=true user=your-user numprocs=1 redirect_stderr=true

#Run this commands:

  • sudo supervisorctl reread
  • sudo supervisorctl update
  • sudo supervisorctl start reverb:*

Please or to participate in this conversation.