Skip to content
This repository was archived by the owner on Feb 7, 2024. It is now read-only.
This repository was archived by the owner on Feb 7, 2024. It is now read-only.

set port from .env file #786

@kailas-insnapsys

Description

@kailas-insnapsys

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions