Wake on Lan Port Number
The main question I get asked is "which port number do I use for Wake On Lan".
Local Area Network
You don't need to worry about the port number on a LAN because we don't have to worry about routers (unless you are on a large network). Just use the default port 7. On a large segmented network see "Internet" below.
If you wish to use Wake On Lan over the internet you will need to set up your destination firewall/router to allow "Subnet Directed Broadcasts". Most routers and firewalls disable this option by default.
You will then need to allow traffic through on your firewall/router on a specific port. The choice of ports is up to you.