Check that your wifi router doesn't have AP Isolation turned on, and check that your router isn't doing anything to block those specific ports.
You might also try taking the device out of developer mode, rebooting, then putting it back in developer mode and rebooting again.
- Joel