# Error running "forge tunnel" from Ubuntu WSL2 on Windows

**URL:** <https://community.developer.atlassian.com/t/error-running-forge-tunnel-from-ubuntu-wsl2-on-windows/55182>\
**Category:** Forge\
**Tags:** forge-tunnel, wsl2, docker, forge\
**Created:** [January 19, 2022, 5:30am UTC](https://community.developer.atlassian.com/t/error-running-forge-tunnel-from-ubuntu-wsl2-on-windows/55182 "2022-01-19T05:30:08Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![nhac.tat.nguyen](https://sea1.discourse-cdn.com/atlassiandeveloper/user_avatar/community.developer.atlassian.com/nhac.tat.nguyen/32/39032_2.png) [@nhac.tat.nguyen](https://community.developer.atlassian.com/u/nhac.tat.nguyen)\
**Post date:** [January 19, 2022, 5:30am UTC](https://community.developer.atlassian.com/t/error-running-forge-tunnel-from-ubuntu-wsl2-on-windows/55182/1 "2022-01-19T05:30:08Z")

</div>

Hi,

I’m developing a Forge app in my Ubuntu WSL2 Environment.  
But when I run `forge tunnel`, I got this error:

 ![image](https://global.discourse-cdn.com/atlassiandeveloper/original/3X/7/4/74fb2a3e1a8530a4337b3e667b26befd8090446c.png)

Could you please give me some suggestions?

---

<div class="post-metadata">

**Author:** ![LashaniPerera](https://avatars.discourse-cdn.com/v4/letter/l/f9ae1b/32.png) [@LashaniPerera](https://community.developer.atlassian.com/u/LashaniPerera)\
**Post date:** [January 19, 2022, 6:05am UTC](https://community.developer.atlassian.com/t/error-running-forge-tunnel-from-ubuntu-wsl2-on-windows/55182/2 "2022-01-19T06:05:30Z")

</div>

Hi @nhac.tat.nguyen,  
Thank you for reaching out. It seems like a failure with the local port it is trying to connect. Could you please re-try with `forge tunnel --verbose` which will give more details ? Re-try will pick a different port and may resolve the issue as well. If not could you please provide the forge cli version, docker version and also node version in your setup.

---

<div class="post-metadata">

**Author:** ![nhac.tat.nguyen](https://sea1.discourse-cdn.com/atlassiandeveloper/user_avatar/community.developer.atlassian.com/nhac.tat.nguyen/32/39032_2.png) [@nhac.tat.nguyen](https://community.developer.atlassian.com/u/nhac.tat.nguyen)\
**Post date:** [January 19, 2022, 6:52am UTC](https://community.developer.atlassian.com/t/error-running-forge-tunnel-from-ubuntu-wsl2-on-windows/55182/3 "2022-01-19T06:52:57Z")

</div>

Hi @LashaniPerera, thanks for answering.

The screenshot in my post is the content from `forge tunnel --verbose`.

 ![image](https://global.discourse-cdn.com/atlassiandeveloper/original/3X/c/d/cd762dc54f8869538d9f31fe4f1ff8d67d1bae65.png)

The versions I’m using:

- Forge CLI: `2.0.6`
- Docker: `20.10.12, build e91ed57`
- Node: `16.13.1`
- Ubuntu: 20.04 LTS running in WSL2

Thanks

---

<div class="post-metadata">

**Author:** ![heinzen](https://sea1.discourse-cdn.com/atlassiandeveloper/user_avatar/community.developer.atlassian.com/heinzen/32/41251_2.png) [@heinzen](https://community.developer.atlassian.com/u/heinzen)\
**Post date:** [January 19, 2022, 8:48pm UTC](https://community.developer.atlassian.com/t/error-running-forge-tunnel-from-ubuntu-wsl2-on-windows/55182/4 "2022-01-19T20:48:46Z")

</div>

Hi @nhac.tat.nguyen,

Is ngrok currently whitelisted in your environment? It requires the connection to be established and kept alive for tunnel to work.

Cheers

---

<div class="post-metadata">

**Author:** ![nhac.tat.nguyen](https://sea1.discourse-cdn.com/atlassiandeveloper/user_avatar/community.developer.atlassian.com/nhac.tat.nguyen/32/39032_2.png) [@nhac.tat.nguyen](https://community.developer.atlassian.com/u/nhac.tat.nguyen)\
**Post date:** [January 20, 2022, 4:58am UTC](https://community.developer.atlassian.com/t/error-running-forge-tunnel-from-ubuntu-wsl2-on-windows/55182/5 "2022-01-20T04:58:26Z")

</div>

Hi @heinzen, I tested by running `ngrok http 8080` from my shell and it doesn’t work. So it looks like the problem is with `ngrok` and our network.

 ![image](https://global.discourse-cdn.com/atlassiandeveloper/original/3X/7/c/7cf6e1346f5ba163e136f6c4396bf60d997d6371.png)

I will investigate more on this.  
Thank you for your help.
