I have a problem about Nifi Web UI. When I set nifi.web.http.host=luan-ht01, I could not access Nifi Web UI on browsers by public IP, example: http://localhost:8080/nifi/, http://188.8.131.52:8080/nifi. I only could access Nifi Web by host name, example: http://luan-ht01:8080/nifi/ . Do you have any solutions? Thank you very much.
I 'm using Nifi 1.9.0.
Are you sure that "lunc-ht01" is your Public Hostname (OR) Private hostname ?
Is that public hostname "lunc-ht01" mapped with IP Address "184.108.40.206" ?
On the Nifi Host can you please try running the following command and share the output.
# curl -s http://169.254.169.254/latest/meta-data/public-hostname -o /tmp/public-hostname.txt ; cat /tmp/public-hostname.txt # cat /etc/hosts # hostname -f # netstat -tnlpa | grep 8080
Can you check your Local machine where you are opening the web browser to verify your "/etc/hosts" file to see if it is pointing to the Private IP Address of "lunc-ht01" ? On your Local machine where you are opening the browser.
# cat /etc/hosts # telnet 220.127.116.11 8080 (OR) # nc -v 18.104.22.168 8080
The above question and the entire response thread below was originally posted in the Community Help track. On Sun Jun 30 21:03 UTC 2019, a member of the HCC moderation staff moved it to the Data Ingestion & Streaming track. The Community Help Track is intended for questions about using the HCC site itself, not technical questions about the Nifi Web UI.