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

通过docker部署后,只有server端所在机器可以连接到server #540

Open
SuzuhaOtoha opened this issue Sep 27, 2023 · 1 comment

Comments

@SuzuhaOtoha
Copy link

SuzuhaOtoha commented Sep 27, 2023

通过单机docker快速部署后,只有server端所在的主机能联通到server端,其他的主机安装agent后无法显示在管理面板中,systemctl显示状态正常。
image
查询详细日志提示connection error: desc = "transport: error while dialing: dial tcp 192.168.1.106:8090: connect: permission denied”,192.168.1.106为server端所在主机的ip地址。
image
tcpdump抓包未抓取到agent与server通信的流量。
可以确认网络配置无问题,telnet与nc均可连接到server端的8090端口。
server端及agent端所使用的系统均为CentOS 8。
image

@vokey
Copy link

vokey commented Nov 9, 2023

可以通过 sestatus 来确认一下 SELinux 的状态吗?
如果是开启的,可以尝试关闭 SELinux 以解决此问题。

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

2 participants