Hi, I have successfully installed the NIFI on HDP 2.6. NIFI service is running and there is no error or warning in nifi-app.log file. Log file says that WEB UI of NIFI can be accessed at http://172.17.0.2:8079/nifi but when I hit this URL in my browser it does not open WEB UI.
1) in browser it says, this site cant be reached
2) Latest Version
3) Chrome - 58.0.3029.110
4) nifi-user.log file is empty
5) Telnet command says, connection refused
If the following command shows NiFi is still running:
and the following command shows NiFi listening on port 8079:
netstat -ant|grep LISTEN
Then the issue is not with NiFi.
There is something external to NiFi blocking connections to port 8079 from your host where your browser is running.
What OS version is running on the server/VM where NiFi is running?
When NiFi starts and has not been configured with a specific hostname or IP in the (nifi.web.http.host=) in the nifi.properties file, it looks to bind to the IP address registered to every NIC card present on the host system. If you try to specify a hostname or IP that does not resolve or match the IP registered to any of your NIC cards, NiFi will fail to start. NiFi can not bind to a port that belongs to an IP it does not own. You can run the "ifconfig" command on the host running NiFi to see all NICs and the IP registered to them. You should see the 172.17.x.x address and not the 192.168.x.x address shown.
It definitely sounds like there is some network address translation going on here. The fact that you can reach NiFi over http://192.68.x.x:8078// confirms this. It is simply routing all traffic from the 192.169.x.x address to the internal 172.17.x.x address. We confirmed already your browser cannot resolve a path directly to 172.17.x.x, because if you could, NiFi's UI would have opened. NiFi is in fact bound to 172.17.x.x and not 192.168.x.x. NiFi cannot control how traffic is being routed to this endpoint by the network.
Yeah.. Nifi is running.
netstat -ant|grep LISTEN command showed me following result for my port:
tcp 0 0 0.0.0.0:8078 0.0.0.0:* LISTEN
I have changed the port from 8079 to 8078 but still the same issue.
I am using Hortanworks Sandbox (HDP 2.6) on my Laptop Windows is OS on my Laptop.
I installed the NIFI at below path: