I am using Windows firewall to block all connections except what is required for TeamViewer to properly function and allow connections. However, even after opening up the required ports according to this web page, I am unable to connect to TeamViewer via the TeamViewer ID. I can connect via LAN, but not to the TeamViewer ID. The only way I am able to connect to the TeamViewer ID is if I allow everything through the firewall.
In addition to the below screenshots, I have also done the same thing with ports 80 and 443 at the same time. But according to the linked web page above, I only need to open up 5938. This is clearly incorrect, as there is more to it or I would not be having this issue.
I am using TeamViewer 12.
Here are the screenshots showing all relavent information:


