How to run laravel websockets in laragon? getting wss error
I need to be able to open ports 6001 using beyondcode/websockets
to use that laravel WebSocket we need to add the port 6001 to use that package
please do something some other developer also request for it
Any one i am stick in that place and i don't wanna any other server instead of laragon please response
@hemant17 : What is your issue? You just open Laragon's Terminal and type.
There are only 2 commands:
composer require beyondcode/laravel-websockets php artisan websockets:serve
@leokhoa no borother it's install without any issues we we run that command
php artisan websockets:serve
it's not working because
WebSocket connection to 'wss://nextlevelbot.test:6001/app/mykey?protocol=7&client=js&version=6.0.2&flash=false' failed: Error in connection establishment: net::ERR_CONNECTION_REFUSED
it's use port 6001 and i think that port it not working because i got the same error on my vps then i do the port and it's work fine
@hemant17 : What is the output of the command
php artisan websockets:serve?
If the output is fine (no error message), you should check your Firewall: https://www.hostwinds.com/guide/how-to-open-or-block-ports-using-windows-firewall/
@leokhoa thanks for that link guide i added that port in the window now the error change sir
and ti;s still suck there
well it's look ike ssl isues now nothing much worried about this thanks brother for the port issues best software . and i didn't wanna switch to xampp that by i ask here for the help thanks
@hemant17 : I'm so glad to here that
@hemant17 How did you manage to solve this problem? Could you share the solution?