Shopify App Issue

I am new to Shopify. I created a first app using Shopify CLI and installed it on admin successfully. I referred to this. https://shopify.dev/docs/apps/build/build?framework=remix When I open preview link, I got an error of “refused to connect”. For a reference, I attached a screenshot. Please help me to fix this.

Hi @GoldenChicken , the screenshot seems to be missing. Can you explain the steps you followed? I found a similar thread here, maybe that helps you out.

Here are my steps.
I created a shopify app using “shopify app init” from shopify cli.

I run this app locally using “shopify app dev” and clicked “p” to open preview link.

I got above message.