Skip to content

Ports Reserved By Windows Hyper-V #387

@nestharus

Description

@nestharus

Describe the bug
When running docker compose up on Windows with WSL2/Hyper-V, the container fails to start because ports 8085 and 11451 fall within Windows Hyper-V dynamically excluded port ranges.

CLI Type
NA

Model Name
NA

LLM Client
NA

Request Information
netsh interface ipv4 show excludedportrange protocol=tcp

Expected behavior
docker compose up -d runs correctly

Screenshots
NA

OS Type

  • OS: Windows 11
  • Latest

Additional context
The recent windows update appears to now reserve new ports that prevents docker compose from running as it currently is on WSL2. I must now edit the file in order to run it.

I modified to the following port list to get around the Hyper-V reserved port issue.

  - "8317:8317"
  - "9085:9085"
  - "1455:1455"
  - "54545:54545"
  - "51121:51121"
  - "12451:12451"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions