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

ignaciodev's avatar

Reverb ignoring .env variables?

On my .env file I have set the following:

REVERB_HOST="localhost"
REVERB_PORT=6001
REVERB_SCHEME=http

On tinker, if I run config('broadcasting.connections.reverb.options.port') I get 6001 as expected.

But when I run artisan reverb:start it starts on port 8080. I tried running artisan reverb:restart but it does not fix it.

Is this normal? If so, what is the point of setting the port on the .env file?

0 likes
2 replies

Please or to participate in this conversation.