Failed to Join Session listen servers

Im making a multiplayer mobile game where Im trying to get a client to join a listen server. The server pops up but I always fail to join on click. How should I go about fixing this. Also this is an IOS mobile game. Will this work on iphone? More info regarding this would be great.