Replies: 4 comments
-
When you open your |
Beta Was this translation helpful? Give feedback.
-
I've tried that as well |
Beta Was this translation helpful? Give feedback.
-
Upon checking the source code
|
Beta Was this translation helpful? Give feedback.
-
so there is no way to set port number dynamically. except for this php artisan websocket:serve --port=15001 to pass the port number hardcoded |
Beta Was this translation helpful? Give feedback.
-
To run the websocket server the below command
php artisan websocket:serve
this started to default on 6001 port
the port number can be changed by passing the port parameter value
php artisan websocket:serve --port=15001
but it's fixed port
I want to change the port number should pick from the .env file
in .env set port is 15001 then
php artisan websocket:serve
will run on 15001 port instead of 6001
is anyone know about this?
Any help on this is appreciated
Beta Was this translation helpful? Give feedback.
All reactions