"Please make sure that the entered data is vaild" problem

I forwarded UDP port 9 to the broadcast address of the local network (LAN), and I allowed the port on Windows Firewall with Advanced Security. But when typing that broadcast address and port in the TeamViewer's Wake-on-LAN Configuration, it says: "Please make sure that the entered data is vaild". What should I do? it only works on DNS, but I want to try to change it. Thanks for every help.