'Fiware Draco cant acess localhost:8080

I install Draco via docker and when i try acess localhost:8080/nifi The browser show this message "localhost not sending data"

I tried ro restart but nothing

Pls help...



Solution 1:[1]

If you are following the tutorial here, then Draco can be configured as follows:

  # Draco is configured to write context data to a database
  draco:
    image: ging/fiware-draco:${DRACO_VERSION}
    hostname: draco
    container_name: fiware-draco
    networks:
      - default
    environment:
      - NIFI_WEB_HTTP_PORT=${DRACO_API_PORT}
    expose:
      - "5050"
      - "${DRACO_API_PORT}"
    ports:
      - "${DRACO_API_PORT}:${DRACO_API_PORT}" # localhost:9090
      - "5050:5050"
    healthcheck:
      test: curl --fail -s http://draco:${DRACO_API_PORT}/nifi-api/system-diagnostics || exit 1
      start_period: 1m

According to the .env file, the web port is 9090 not 8080

# Draco Variables
DRACO_VERSION=1.3.6
DRACO_API_PORT=9090

You should check your ports using the docker ps command.

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Jason Fox