Created 06-29-2019 02:16 PM
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://107.113.193.160: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.
Created 06-29-2019 02:54 PM
@luan ha
Are you sure that "lunc-ht01" is your Public Hostname (OR) Private hostname ?
Is that public hostname "lunc-ht01" mapped with IP Address "107.113.193.160" ?
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 107.113.193.160 8080 (OR) # nc -v 107.113.193.160 8080
.
Created 06-30-2019 09:04 PM
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.
Created 07-18-2019 06:21 PM
If you want to be able to access the NiFi UI via all of those URLs, then you will have to clear the nifi.web.http.host property.