This thread helped me tremendously-- thank you.
The HDP download did not work for me-- after waiting 15 minutes and going to
http://localhost:8400/login.html, nothing happened. I assumed it was a firewalld/ip/port issue, and googling led me to this forum. Learning all about centos 7's firewalld did not solve my issue, but using the cloudera download instead did the trick!