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

thesnakebite's avatar

Update on Laravel Reverb Implementation Issues with Shared Hosting

After attempting to implement Laravel Reverb in my project hosted on Hostinger (shared hosting), I've encountered a significant limitation that might be useful for others considering this approach.

According to Hostinger's official documentation:

"For security reasons, our Web and Cloud hosting plans only allow for outgoing connections via WebSocket. [...] It is not allowed for clients to bind to local ports for incoming connections"

This means that running Laravel Reverb (or any WebSocket server) directly on shared hosting is not possible because:

  1. We can't bind to local ports for incoming WebSocket connections
  2. Only outgoing WebSocket connections are allowed

My questions are:

  1. Is this a common limitation with other shared hosting providers?
  2. Besides migrating to a VPS, what are the realistic options for someone who wants to use Laravel Reverb in production?
  3. Given these limitations, would Pusher be the only viable option for shared hosting environments despite the potential cost implications?

I initially chose Reverb because it seemed like the most modern and maintainable first-party solution, but these hosting limitations weren't immediately apparent in the documentation.

Any insights from those who have deployed WebSocket solutions in shared hosting environments would be greatly appreciated.

0 likes
0 replies

Please or to participate in this conversation.