本文主要是介绍linux 可能出现服务器与服务器之间网络通信问题,可能是由于linux内置系统网络检测导致,希望对大家解决编程问题提供一定的参考价值,需要的开发者们随着小编来一起学习吧!
linux 上内核网络修改
vi /etc/selinux/config
出现一下
# This file controls the state of SELinux on the system.
# SELINUX= can take one of these three values:
# enforcing - SELinux security policy is enforced.
# permissive - SELinux prints warnings instead of enforcing.
# disabled - No SELinux policy is loaded.
SELINUX=enforcing
# SELINUXTYPE= can take one of three two values:
# targeted - Targeted processes are protected,
# minimum - Modification of targeted policy. Only selected processes are protected.
# mls - Multi Level Security protection.
SELINUXTYPE=targeted
将SELINUX=enforcing 的 enforcing 改为 disabled 保存 重启服务
这篇关于linux 可能出现服务器与服务器之间网络通信问题,可能是由于linux内置系统网络检测导致的文章就介绍到这儿,希望我们推荐的文章对编程师们有所帮助!