DEV Community

Discussion on: Laravel, artisan serve, and HTTPS

Collapse
 
robertobutti profile image
Roberto B.

For listening and accepting connection from other devices, you have to bind the service exposed (in this case Vite), to address 0.0.0.0.
To do this, you have to set host parameter in vite.config.js as '0.0.0.0'.

Image description