Got communication working initially. Lot's of dropped packets though with a wifi connection. Works perfectly on localhost though.