Device does not appear when trying to cast

I wanted to cast to the projector using the pre-installed screen mirroring app, but the device does not appear when searching on either my Android phone or Windows laptop. What can I do to find the projector? Or are there any alternative apps that I can use for casting/screen mirroring?