Download the latest Avare and once loaded at the bottom of the screen scroll to the I/O tab. You have a few choices here depending on how you are using Xplane.
1. If just want a moving map and no ADS-B connection for other traffic, at the top open up the pulldown and select XPlane, port should be 49002 and select Listen
In Xplane under Network you would have on the right side Other Mapping Apps, select the radio button for Broadcast to all Mapping Devices on the network.
This will show your aircraft on the map
---
2, if you are using something like RealTraffic to get broadcast ADS-B traffic to show up in Xplane, then you can go to the I/O screen and select WiFi from the pull down. Port should always be 4000 and select Listen
In Xplane you go to Network and Select Xavion or FlyQ and then put in the IP address of your tablet and for the port it will default to 48002. (XP12 lets you actually select the port so you can choose 4000)
This will give you your aircraft on the moving map and display ADS-B aircraft as well on the map