Created on 05-10-2017 12:06 PM - edited 08-17-2019 06:28 PM
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:
Created 05-10-2017 12:13 PM
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
Created 05-10-2017 12:13 PM
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
Created 05-10-2017 12:15 PM
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
Created 05-10-2017 12:47 PM
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