redpanda http://localhost:8080 접속이 안되는 이유

Redpanda에서 http://localhost:8080 접속이 안 되는 주요 원인은 Redpanda 자체가 8080 포트에서 웹 서비스를 제공하지 않기 때문입니다.
Redpanda의 기본 포트 구성은 다음과 같습니다.

포트용도
9092Kafka API
9644Admin API
8081Schema Registry
8082HTTP Proxy API
8080Redpanda Console

즉, http://localhost:8080은 Redpanda Console(웹 UI 관리도구)이 실행 중일 때만 접속할 수 있습니다1910.

접속이 안 되는 주요 원인 및 해결 방법

1. Redpanda Console이 실행되고 있지 않음

  • Redpanda 브로커만 실행 중이고, Console 컨테이너(혹은 바이너리)가 따로 실행되고 있지 않으면 8080 포트에서 아무 서비스도 제공되지 않습니다.
  • 해결: 아래와 같이 Console을 별도로 실행해야 합니다.
bashdocker run -d -p 8080:8080 \
  -e KAFKA_BROKERS=localhost:9092 \
  docker.redpanda.com/redpandadata/console:latest

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.
  • 해결: 환경 변수와 네트워크 설정을 확인하세요.

참고

요약:
http://localhost:8080은 Redpanda 브로커가 아니라 Redpanda Console(웹 UI)에서만 사용합니다. Console이 실행 중인지, 포트 매핑이 올바른지, 환경변수가 정확한지 확인하세요. Redpanda 자체 서비스는 8080 포트를 사용하지 않습니다1910.

Citations:

  1. https://docs.redpanda.com/current/deploy/deployment-option/self-hosted/manual/production/dev-deployment/
  2. https://docs.redpanda.com/current/deploy/deployment-option/self-hosted/kubernetes/local-guide/
  3. https://velog.io/@tomy8964/Stream-data-ingestion-with-Redpanda
  4. https://github.com/redpanda-data/console/issues/402
  5. https://docs.redpanda.com/current/develop/http-proxy/
  6. https://docs.redpanda.com/redpanda-labs/docker-compose/console-plain-login/
  7. https://buf.build/docs/bufstream/integrations/redpanda-console/
  8. https://community.idx.dev/t/redpanda-docker-not-working/8223
  9. https://risingwave.com/blog/redpanda-ports-find-defaults-easily/
  10. https://docs.redpanda.com/current/get-started/quick-start/
  11. https://docs.redpanda.com/redpanda-cloud/networking/cloud-security-network/
  12. https://docs.redpanda.com/current/get-started/broker-admin/
  13. https://www.redpanda.com/redpanda-console-kafka-ui
  14. https://github.com/redpanda-data/console
  15. https://velog.io/@tomy8964/Stream-data-ingestion-with-Redpanda
  16. https://docs.redpanda.com/current/deploy/deployment-option/self-hosted/manual/production/production-deployment/
  17. https://github.com/redpanda-data/kowl/issues/347
  18. https://docs.redpanda.com/current/console/config/http-path-rewrites/
  19. https://docs.redpanda.com/current/console/
  20. https://risingwave.com/blog/step-by-step-guide-to-redpanda-console-for-kafka/
  21. https://docs.redpanda.com/current/console/config/configure-console/
  22. https://risingwave.com/blog/how-to-deploy-redpanda-on-kubernetes/
  23. https://docs.redpanda.com/current/console/quickstart/
  24. https://github.com/redpanda-data/console/blob/master/docs/local/docker-compose.yaml
  25. https://www.automq.com/docs/automq/integrations/kafka-ui/redpanda-console
  26. https://docs.redpanda.com/current/troubleshoot/
  27. https://github.com/AutoMQ/automq/wiki/How-to-use-Redpanda-Console-Manage-AutoMQ
  28. https://github.com/redpanda-data/console/issues
  29. https://stackoverflow.com/questions/77105039/redpanda-ephemeral-port-on-the-docker-is-not-working
  30. https://docs.redpanda.com/current/troubleshoot/errors-solutions/k-resolve-errors/
  31. https://community.aws/content/2dv2FyD5y94bAzuqVU0GiyYVMsA/amazon-msk-with-redpanda-console
  32. https://www.youtube.com/watch?v=73JZSsguGtU
  33. https://questdb.com/docs/third-party-tools/redpanda/
  34. https://docs.redpanda.com/current/deploy/deployment-option/self-hosted/kubernetes/local-guide/
  35. https://itnext.io/essential-troubleshooting-techniques-for-kafka-data-streams-using-redpanda-console-0e064c24fd6c
  36. https://www.linkedin.com/posts/gavinklfong_essential-troubleshooting-techniques-for-activity-7269280573288767488-hOhA

답글 남기기

이메일 주소는 공개되지 않습니다. 필수 필드는 *로 표시됩니다

Back to top