Skip to content

Port conflict of WSL2 with CRC for SSH (usermode networking) #20327

@gbraad

Description

@gbraad

Issue Description

With the recent introduction of usermode networking, the network stack of podman machine on Windows uses port 2222 to forward ssh. This can conflict with the default of CRC which will ALWAYS use usermode networking and the 2222 port forward for ssh.

Steps to reproduce the issue

n/a

Describe the results you received

Unable to start either depending who comes first

Describe the results you expected

We should both be checking if the port is already in use and suggest an alternative.

podman info output

n/a

Podman in a container

No

Privileged Or Rootless

None

Upstream Latest Release

Yes

Additional environment details

Windows with Podman machine on WSL2 and CRC

Additional information

Usermode networking

crc-org/crc#3855

Metadata

Metadata

Assignees

Labels

kind/bugCategorizes issue or PR as related to a bug.locked - please file new issue/PRAssist humans wanting to comment on an old issue or PR with locked comments.machinestale-issuewindowsissue/bug on Windows

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions