Check the Wi-Fi network on your Apple TV or other AirPlay enabled device. On Apple TV 4K and Apple TV (4th generation), go to Settings > Network > Wi-Fi and make sure that you're connected to the same Wi-Fi network as your iOS device.