Redpanda에서 http://localhost:8080 접속이 안 되는 주요 원인은 Redpanda 자체가 8080 포트에서 웹 서비스를 제공하지 않기 때문입니다.
Redpanda의 기본 포트 구성은 다음과 같습니다.
포트 | 용도 |
---|---|
9092 | Kafka API |
9644 | Admin API |
8081 | Schema Registry |
8082 | HTTP Proxy API |
8080 | Redpanda Console |
즉, http://localhost:8080은 Redpanda Console(웹 UI 관리도구)이 실행 중일 때만 접속할 수 있습니다1910.
목차
Toggle접속이 안 되는 주요 원인 및 해결 방법
1. Redpanda Console이 실행되고 있지 않음
- Redpanda 브로커만 실행 중이고, Console 컨테이너(혹은 바이너리)가 따로 실행되고 있지 않으면 8080 포트에서 아무 서비스도 제공되지 않습니다.
- 해결: 아래와 같이 Console을 별도로 실행해야 합니다.
bashdocker run -d -p 8080:8080 \
-e KAFKA_BROKERS=localhost:9092 \
docker.redpanda.com/redpandadata/console:latest
- 이후 http://localhost:8080 접속710.
2. Docker Compose 설정 오류
- docker-compose.yml에 Console 서비스가 없거나, ports: – “8080:8080” 매핑이 누락된 경우310.
- 해결: docker-compose.yml에 redpanda-console 서비스가 정의되어 있는지 확인하세요.
3. 포트 충돌 또는 방화벽
- 8080 포트가 이미 다른 서비스에서 사용 중이거나, 방화벽(보안 그룹)에서 차단된 경우9.
- 해결: netstat, lsof 등으로 포트 사용 현황 확인 후, 필요시 포트 변경 또는 방화벽 설정 수정.
4. 네트워크/환경 변수 설정 문제
- KAFKA_BROKERS 환경변수 등 필수 설정이 누락될 경우 Console이 정상적으로 Redpanda에 연결되지 않아 웹 UI가 뜨지 않을 수 있습니다47.
- 해결: 환경 변수와 네트워크 설정을 확인하세요.
참고
- Redpanda의 HTTP Proxy API는 8082 포트에서 동작하므로, REST API를 이용하려면 http://localhost:8082로 접속해야 합니다59.
- http://localhost:8080은 Redpanda Console이 별도로 실행 중일 때만 접속할 수 있습니다710.
요약:
http://localhost:8080은 Redpanda 브로커가 아니라 Redpanda Console(웹 UI)에서만 사용합니다. Console이 실행 중인지, 포트 매핑이 올바른지, 환경변수가 정확한지 확인하세요. Redpanda 자체 서비스는 8080 포트를 사용하지 않습니다1910.
Citations:
- https://docs.redpanda.com/current/deploy/deployment-option/self-hosted/manual/production/dev-deployment/
- https://docs.redpanda.com/current/deploy/deployment-option/self-hosted/kubernetes/local-guide/
- https://velog.io/@tomy8964/Stream-data-ingestion-with-Redpanda
- https://github.com/redpanda-data/console/issues/402
- https://docs.redpanda.com/current/develop/http-proxy/
- https://docs.redpanda.com/redpanda-labs/docker-compose/console-plain-login/
- https://buf.build/docs/bufstream/integrations/redpanda-console/
- https://community.idx.dev/t/redpanda-docker-not-working/8223
- https://risingwave.com/blog/redpanda-ports-find-defaults-easily/
- https://docs.redpanda.com/current/get-started/quick-start/
- https://docs.redpanda.com/redpanda-cloud/networking/cloud-security-network/
- https://docs.redpanda.com/current/get-started/broker-admin/
- https://www.redpanda.com/redpanda-console-kafka-ui
- https://github.com/redpanda-data/console
- https://velog.io/@tomy8964/Stream-data-ingestion-with-Redpanda
- https://docs.redpanda.com/current/deploy/deployment-option/self-hosted/manual/production/production-deployment/
- https://github.com/redpanda-data/kowl/issues/347
- https://docs.redpanda.com/current/console/config/http-path-rewrites/
- https://docs.redpanda.com/current/console/
- https://risingwave.com/blog/step-by-step-guide-to-redpanda-console-for-kafka/
- https://docs.redpanda.com/current/console/config/configure-console/
- https://risingwave.com/blog/how-to-deploy-redpanda-on-kubernetes/
- https://docs.redpanda.com/current/console/quickstart/
- https://github.com/redpanda-data/console/blob/master/docs/local/docker-compose.yaml
- https://www.automq.com/docs/automq/integrations/kafka-ui/redpanda-console
- https://docs.redpanda.com/current/troubleshoot/
- https://github.com/AutoMQ/automq/wiki/How-to-use-Redpanda-Console-Manage-AutoMQ
- https://github.com/redpanda-data/console/issues
- https://stackoverflow.com/questions/77105039/redpanda-ephemeral-port-on-the-docker-is-not-working
- https://docs.redpanda.com/current/troubleshoot/errors-solutions/k-resolve-errors/
- https://community.aws/content/2dv2FyD5y94bAzuqVU0GiyYVMsA/amazon-msk-with-redpanda-console
- https://www.youtube.com/watch?v=73JZSsguGtU
- https://questdb.com/docs/third-party-tools/redpanda/
- https://docs.redpanda.com/current/deploy/deployment-option/self-hosted/kubernetes/local-guide/
- https://itnext.io/essential-troubleshooting-techniques-for-kafka-data-streams-using-redpanda-console-0e064c24fd6c
- https://www.linkedin.com/posts/gavinklfong_essential-troubleshooting-techniques-for-activity-7269280573288767488-hOhA