Skip to content
Advertisement

Apache NIFI Faild to bind to xxx

I try to start my nifi server with toolkit, when I set the “nifi.properties” https-host be 127.0.0.1 my server can start, and I use “jps” can see the nifi is on running, meanwhile the log file shows nifi is running, but I can’t through my cloud server ip+port to visited nifi.

When I change the config of “https-host” to be my public IP adress, the log shows faild to bind the IP. Did somebody have same problem with me.

error info

Advertisement

Answer

The reason is that to make the NiFi instance available through the Public IP, change the property of 127.0.0.1 to 0.0.0.0 and then restart NiFi. After restarting NiFi, try browsing to the public IP address. Another option is to replace the 127.0.0.1 with the public IP address of the host and then restart NiFi. After restarting NiFi, try browsing to the public IP address.

User contributions licensed under: CC BY-SA
10 People found this is helpful
Advertisement