Using Laravel Reverb for my app

Hi! I have a laravel app hosted here and I have implemented a real-time chat feature using Laravel Reverb. It works fine in local, but I have no idea on how to integrate it in my production code.

REVERB_HOST=“localhost”

REVERB_PORT=8080

REVERB_SCHEME=http

Hope you can help me on this one. Thanks!

It’s not possible here.

  1. Chat scripts are prohibited here.
  2. It seems that you need to open a port to listen connections. Unfortunately, you cannot open ports here, nor you can have long running processes to listen to something.
8 Likes

If you have questions about our hosting, please put it in the Hosting Support category. The Informal category is not the place to get help for your website.

Besides that, I don’t think you can host Lavavel Reverb with us, or with any other web hosting provider for that matter. Web hosting providers don’t allow you to run your own, long running background processes, which is what Reverb needs to work. Additionally, our servers do not support Websocket connections.

So I think you’ll need to switch to a broadcast driver that works with an external service to handle the websocket messaging, like Pusher or Ably.

9 Likes

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.