Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.
I have both. How do I make it happen. When ever I close the lid, I try to access it from my Apple TV and my computer disappears.

Make sure that 'wake for network access' os ticked in the power management preferences (it's under the power adaptor tab).

It may be that the laptop needs to be connected to a power line to get wake on network working.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.