wake on lan not working

Hi. Please help me with this issue. Why TeamViewer is not enabling my pc? If i use any program for WOL in local network my pc is powering on, bu if i use TW for that it don't work. I opened port on my router and setup TeamViewer on pc, but it still not working. Why?