Try restarting both devices if the application still won't cast. To do this, briefly unplug the power from your router before plugging it back in. Then, turn them all back on. Turn off and on the network.