Port forwarding not working when using Podman against a remote backend #7042
Labels
area/odo-on-podman
Issues or PRs related to running odo against Podman
kind/bug
Categorizes issue or PR as related to a bug.
Milestone
/kind bug
/area odo-on-podman
What versions of software are you using?
Operating System:
Windows 11 with no Podman Machine setup. I wanted to leverage a Podman backend on another machine.
Not sure this issue could apply to other operating systems.
(Issue discovered while working on #6721)
Output of
odo version
:How did you run odo exactly?
This expects a Podman service to be running on some other machine or VM. See https://www.redhat.com/sysadmin/podman-clients-macos-windows
Actual behavior
Not sure if that is expected when using remote connections like this with Podman, but the dev forwarded ports do not seem to be open on the local machine., but only on the machine running the Podman backend.
Expected behavior
odo
says- Forwarding from 127.0.0.1:20001 -> 3000
, so I would expect to be able to reach 127.0.0.1:20001.Workaround
Manually opening an SSH tunnel using the same 20001 port before calling
curl
does the trick.Any logs, error output, etc?
The text was updated successfully, but these errors were encountered: