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'.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Is this working if u run php artisan serve --host 0.0.0.0 and then access the localhost via ipv4?
I still looking for way to access https localhost using ipv4 via my mobile phone.
So far only manage to access https on the laptop only.
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'.