You may receive an error message (refused to connect) when adding a Page URL in the web page capsule.
The web page module uses a standard HTML iframe to load the Page URL you provide. Unfortunately many websites are configured in a way that blocks other apps when they try to embed their pages in iframes. This is more likely to happen when Confluence and the Page URL are not on the same domain.
If you have access to the server where the target web page is located, you can update the server configuration to enable external iframes embed:
// iframe can be embedded in pages on the origin and also on https://confluence_domain
Content-Security-Policy: frame-ancestors 'self' https://confluence_domain;
JS
Sample configuration for Nginx reverse proxy
proxy_hide_header Content-Security-Policy;
proxy_hide_header X-Frame-Options;
add_header Content-Security-Policy "frame-ancestors https:";
YML