# Can't connect to gadi compute node from vscode

**URL:** <https://forum.access-hive.org.au/t/cant-connect-to-gadi-compute-node-from-vscode/5887>\
**Category:** Technical\
**Created:** [9 February 2026 02:58 UTC](https://forum.access-hive.org.au/t/cant-connect-to-gadi-compute-node-from-vscode/5887 "2026-02-09T02:58:58Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![eliocamp](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.access-hive.org.au/eliocamp/32/4273_2.png) [@eliocamp](https://forum.access-hive.org.au/u/eliocamp)\
**Post date:** [9 February 2026 02:58 UTC](https://forum.access-hive.org.au/t/cant-connect-to-gadi-compute-node-from-vscode/5887/1 "2026-02-09T02:58:58Z")

</div>

Today I’m having problems with vscode not being able to connect to compute nodes. Is anyone else having the same issue or is it just me? I get get “Could not establish connection”. In the output logs I get

```auto
[13:48:01.430] ERROR: TCP port forwarding appears to be disabled on the remote host. Ensure that the sshd_config has `AllowTcpForwarding yes`. Contact your system administrator if needed.
[13:48:01.478] Failed to set up socket for dynamic port forward to remote port 35577: Socket closed. TCP port forwarding may be disabled, or the remote server may have crashed. See the VS Code Server log above for details.
[13:48:01.479] stderr> channel 4: open failed: administratively prohibited: open failed

```

But I still can connect via SSH on the terminal.

---

<div class="post-metadata">

**Author:** ![sam.green](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.access-hive.org.au/sam.green/32/345_2.png) [@sam.green](https://forum.access-hive.org.au/u/sam.green)\
**Post date:** [9 February 2026 06:01 UTC](https://forum.access-hive.org.au/t/cant-connect-to-gadi-compute-node-from-vscode/5887/2 "2026-02-09T06:01:51Z")

</div>

Hey @eliocamp , so interestingly I also get those errors when trying to connect to a compute node through VS Code. But when I try the same port-forwarding through my terminal it works fine, so I think this may be a VS Code issue.

---

<div class="post-metadata">

**Author:** ![sam.green](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.access-hive.org.au/sam.green/32/345_2.png) [@sam.green](https://forum.access-hive.org.au/u/sam.green)\
**Post date:** [9 February 2026 06:17 UTC](https://forum.access-hive.org.au/t/cant-connect-to-gadi-compute-node-from-vscode/5887/3 "2026-02-09T06:17:24Z")

</div>

Hmm ok I now think that someone has blocked TCP port forwarding in `/etc/ssh/sshd_config` either on purpose or by accident. Considering the maintenance was only last week I wonder if something was done then. We’ll need an NCI staff to comment on this.

---

<div class="post-metadata">

**Author:** ![eliocamp](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.access-hive.org.au/eliocamp/32/4273_2.png) [@eliocamp](https://forum.access-hive.org.au/u/eliocamp)\
**Post date:** [9 February 2026 06:28 UTC](https://forum.access-hive.org.au/t/cant-connect-to-gadi-compute-node-from-vscode/5887/4 "2026-02-09T06:28:16Z")

</div>

I’ve sent a ticket to the helpdesk. Will report when they come back to me.

---

<div class="post-metadata">

**Author:** ![Scott](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.access-hive.org.au/scott/32/37_2.png) [@Scott](https://forum.access-hive.org.au/u/Scott)\
**Post date:** [9 February 2026 22:51 UTC](https://forum.access-hive.org.au/t/cant-connect-to-gadi-compute-node-from-vscode/5887/5 "2026-02-09T22:51:12Z")

</div>

If SSH tunnels are blocked you can also try starting an ARE session, download the vscode CLI and run `code tunnel`, which uses a HTTPS tunnel (ARE session is required for network access)

> **[Developing with Remote Tunnels](https://code.visualstudio.com/docs/remote/tunnels)**
>
> Using the Visual Studio Code Remote Tunnels extension

---

<div class="post-metadata">

**Author:** ![eliocamp](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.access-hive.org.au/eliocamp/32/4273_2.png) [@eliocamp](https://forum.access-hive.org.au/u/eliocamp)\
**Post date:** [9 February 2026 23:19 UTC](https://forum.access-hive.org.au/t/cant-connect-to-gadi-compute-node-from-vscode/5887/6 "2026-02-09T23:19:32Z")

</div>

I think the ARE session wouldn’t work either because only the ARE application has internet access. If you SSH into the node, you can’t access the internet from the terminal.

Anyway, now it’s working. They must’ve fixed the issue on gadi’s side.
