How to connect to Laravel Websocket with React?

Are you using the broadcastAs() method on the backend?

It's important to know this in order to answer your question properly because if you are, the Laravel echo client assumes that the namespace is App\OrderPushed.

When using broadcastAs() you need to prefix it with a dot, to tell echo not to use the namespacing so in your example, it would be:

.listen('.OrderPushed')

Also, you don't need to do any additional setup on the backend in order for each client application to connect to the socket server unless you want to have a multi-tenancy setup whereby different backend applications will make use of the WebSockets server.

I also use wsHost and wsPort instead of just host and port, not sure if that makes a difference though