Skip to content

"Ports are not available" for dapr_scheduler in Windows using Docker #1464

@boclifton-MSFT

Description

@boclifton-MSFT

Expected Behavior

Scheduler container starts as expected.

Actual Behavior

dapr init gives a Docker error:

PS C:\Users\boclifton> dapr init
Making the jump to hyperspace...
Container images will be pulled from Docker Hub
Installing runtime version 1.14.4
Downloading binaries and setting up components...
docker: Error response from daemon: Ports are not available: exposing port TCP 0.0.0.0:52379 -> 0.0.0.0:0: listen tcp4 0.0.0.0:52379: bind: An attempt was made to access a socket in a way forbidden by its access permissions.

Docker Desktop reports this error: (HTTP code 500) server error - Ports are not available: exposing port TCP 0.0.0.0:52379 -> 0.0.0.0:0: listen tcp4 0.0.0.0:52379: bind: An attempt was made to access a socket in a way forbidden by its access permissions.

Steps to Reproduce the Problem

Started from a fresh installation and followed the instructions in Initialize Dapr in your local environment.

Release Note

RELEASE NOTE:
FIX: Docker port issue resolved with default dapr_scheduler port

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind/bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions