Can you give more information about the pusher server you are using ?
Have you installed something locally or do you use the online pusher API ?
What is your configuration code for pusher ?
Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.
hello, i have problem with laravel broadcasting while using pusher, when i excute an event the page will show an error that can't connect to pusher, here is the error:
Pusher error: cURL error 7: Failed to connect to 127.0.0.1 port 443: Connection refused (see https://curl.haxx.se/libcurl/c/libcurl-errors.html)
i just implemented all documentation but it doesn't worked.
@shadkamel Here is an example of a pusher configuration I have used in a project.
PUSHER_APP_ID=your_pusher_app_id
PUSHER_APP_KEY=your_pusher_app_key
PUSHER_APP_SECRET=your_pusher_app_secret
PUSHER_HOST=
PUSHER_PORT=443
PUSHER_SCHEME=https
PUSHER_APP_CLUSTER=eu
You also need to specify the app cluster which can be different according to the geographic location of the server.
Then you have the broadcasting configuration.
'pusher' => [
'driver' => 'pusher',
'key' => env('PUSHER_APP_KEY'),
'secret' => env('PUSHER_APP_SECRET'),
'app_id' => env('PUSHER_APP_ID'),
'options' => [
'cluster' => 'eu',
'useTLS' => true
],
'client_options' => [
],
If you are using the pusher API, you have no pusher host to define.
Have you correctly defined the events and the listeners ?
Please or to participate in this conversation.