I have this docker-composer.yml:
services:
kafka:
image: bitnami/kafka:latest
environment:
- KAFKA_CFG_NODE_ID=1
- KAFKA_CFG_PROCESS_ROLES=broker,controller
- KAFKA_CFG_CONTROLLER_QUORUM_VOTERS=1@localhost:9093
- KAFKA_CFG_LISTENERS=PLAINTEXT://:9092,CONTROLLER://:9093
- KAFKA_CFG_ADVERTISED_LISTENERS=PLAINTEXT://localhost:9092
- KAFKA_CFG_CONTROLLER_LISTENER_NAMES=CONTROLLER
- KAFKA_CFG_REPLICATION_FACTOR=1
restart: unless-stopped
ports:
- 9092:9092
- 9093:9093
redis:
image: bitnami/redis:latest
environment:
- ALLOW_EMPTY_PASSWORD=yes
restart: unless-stopped
ports:
- 6379:6379
volumes:
- ./data:/bitnami/redis/data
It was working fine until a Windows 11 update arrived and now it generates this error for the Redis service:
(HTTP code 500) server error - Ports are not available: exposing port TCP 0.0.0.0:6379 -> 0.0.0.0:0: listen tcp 0.0.0.0:6379: bind: An attempt was made to access a socket in a way forbidden by its access permissions.
I tried disabling the antivirus and firewall but the problem persists. Has anyone had a similar experience and been able to solve it?