Support Questions

Find answers, ask questions, and share your expertise

Unable to open NIFI web UI

avatar
Contributor

I am trying to open NIFI web UI after starting it in Hortanworks but its not opening.

Below is log detail of nifi-app.log:

15280-app-log-detail.png

1 ACCEPTED SOLUTION

avatar
Master Mentor

@Muhammad Umar

The log is telling you that the port NiFi is trying to use for its HTTP or HTTPS is already in use on the server where you have installed NiFi. HDF installed via Ambari by default uses port 9090 for HTTP and 9091 for HTTPS. You will need to change the NiFi configuration to use an available port on your server.

Thanks,

Matt

View solution in original post

3 REPLIES 3

avatar
Master Mentor

@Muhammad Umar

The log is telling you that the port NiFi is trying to use for its HTTP or HTTPS is already in use on the server where you have installed NiFi. HDF installed via Ambari by default uses port 9090 for HTTP and 9091 for HTTPS. You will need to change the NiFi configuration to use an available port on your server.

Thanks,

Matt

avatar
Contributor

Do I need to change the ports in below section of file nifi.properties:

# web properties

nifi.web.war.directory=./lib

nifi.web.http.host=

nifi.web.http.port=8080

nifi.web.http.network.interface.default=

nifi.web.https.host= nifi.web.https.port=

nifi.web.https.network.interface.default=

nifi.web.jetty.working.directory=./work/jetty

nifi.web.jetty.threads=200

avatar
Master Mentor

Based on what you provided above it looks like you installed via the nifi tar.gz file.

By default NiFi runs unsecure on port 8080. So yes, you want to change that port to some unused port on your server.

Thanks, Matt