I can’t connect to device to screen mirror
Roku supports Miracast and AirPlay2 (4K devices only), which are enabled by default.
Your mirroring device needs to support one or the other.
Windows & Android devices support Miracast (depending), while Apple devices support AirPlay2.
Without more information about your device/network configuration, its hard to help you troubleshoot.