Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CentOS 7 firewall issue. #1

Open
andrew-ge-wu opened this issue Aug 11, 2017 · 0 comments
Open

CentOS 7 firewall issue. #1

andrew-ge-wu opened this issue Aug 11, 2017 · 0 comments

Comments

@andrew-ge-wu
Copy link

On centos 7 minimum, firewall are by default blocking external access.
Those are the commands I followed to open port 8080
[root@localhost ~]# firewall-cmd --get-active-zones
public
interfaces: enp0s3
[root@localhost ~]#
[root@localhost ~]# firewall-cmd --zone=public --add-port=8080/tcp --permanent
success
[root@localhost ~]# firewall-cmd --reload
success

After install Ambari, you will probably need to open more ports since there will be a list of applications installed. for example hdfs hive spark zk etc.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant