It is necessary to enable Local Network access in your iPad or iPhone's Settings app in order to see your WiFi-connected device. If this setting is disabled, ForeFlight will not be able to see your device.
STEP 1. Open the iPad SETTINGS APP.
STEP 2. Select FOREFLIGHT.
STEP 3. Turn the switch ON next to Local Network.
Local Network Setting in SETTINGS APP > FOREFLIGHT