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

AliHashir's avatar

Trouble Running Laravel WebSocket on Windows Server with IIS

I am new to the deployment side, and I recently learned how to deploy a Laravel app through a tutorial. It demonstrated that I should specify the directory of the 'public' folder for the site and import rules from the .htaccess file. I have successfully implemented these steps. However, I am currently facing a challenge with running WebSocket. When I run WebSockets through the terminal using 'php artisan websocket:init' on my server machine, it functions perfectly for the server machine only. I have been unable to find any comprehensive guide on the internet for this specific scenario.

0 likes
0 replies

Please or to participate in this conversation.