If the piwik installation is on a virtual host other than default port (not 80 with http or not 443 with https) the dashboardUrl within the embedded iframe definition or the direct link resource for the choosen widget is without any port-defintion.