Why is Wake-On-LAN not working on my MacBook Pro with LogMeIn?
It is not possible for the Macbook to go out of sleep when the lid is closed and no external display and input devices are connected. Your best option therefore is to keep the lid open.