مشکل از فعال بودن فایروال سنت اوس 7 بود که با دستور
systemctl stop firewalld
systemctl disable firewalld
حل شد