Tunneling with custom ui is not working

Hello,
I am developing an app on the global page and dashboard gadget. However, when I try to tunnel with custom UI, I encounter the following error:
“Failed to connect to localhost:3000. Check that your service is running.”
Here is what I have done so far:

1.Added the following to the manifest.yml under the resource section:
tunnel:
port: 3000
2. Started the service using npm start in the static folder.
3. Ran forge tunnel in the root directory.

Hi @MertcanKaraba, what version of Node do you have running locally? I remember another developer running into similar issues a couple of months ago due to a bug in the version of Node they were running.

1 Like

Hi @BoZhang, i am currently using version 18.17.1.

It might be worth upgrading to Node 20 and seeing if that fixes your issue.

1 Like

That worked! Thank you very much.