Search code examples
ubuntuapache-nifi

Cannot Connect to Nifi using localhost:8080/nifi


Sorry there are some questions about this issue but the answers did not help me. I have:

  • ufw enabled
  • a rule to allow connections to 8080 from anywhere
  • ssh enabled
  • status of nifi: running, listening to bootstrap on port xxxxx, PID=yyyy

This is all on an Ubuntu vm. What am I missing? Thanks.


Solution

  • recently default port of apache nifi changed from 8080 to 8443. you can change this by using docker -e flag like this:

    docker run --name nifi -p 8080:8080 -e NIFI_WEB_HTTPS_PORT='8080' -d apache/nifi:latest