if you get Bind Failed Permission Denied error in Linux
for different application like "iperf" etc
Solution is : Disable SeLinux
Below steps show how to disable SELINUX
To test SeLinux is running or not
[root@center /]# selinuxenabled && echo enabled || echo disabled
enabled
So SELINUX is Enabled
To stop temporary
[root@xyz~] sudo setenforce 0
To stop SELINUX permanently
[root@center /]# vim /etc/selinux/config
#And change
SELINUX=enforcing
to
SELINUX=disabled
Save the File and Restart the system to take effect
for different application like "iperf" etc
Solution is : Disable SeLinux
Below steps show how to disable SELINUX
To test SeLinux is running or not
[root@center /]# selinuxenabled && echo enabled || echo disabled
enabled
So SELINUX is Enabled
To stop temporary
[root@xyz~] sudo setenforce 0
To stop SELINUX permanently
[root@center /]# vim /etc/selinux/config
#And change
SELINUX=enforcing
to
SELINUX=disabled
Save the File and Restart the system to take effect
Or you could read the AVC and use semanage port -a to add the right port labeling and not disable your system security,
ReplyDelete