connecting samba installed os gives error "no route to host"

OS - Fedora Linux to cent os Linux

installed samba on Cent os connecting via fedora os

smb-status ONLINE

nmb-staus ONline


while writing


================GETS ERROR ============

No route to host

1 answer

  • answered 2018-04-17 05:55 sysadmin umesh

    the reason in my case was the firewall in CentOs 7(IN WHICH SAMBA WAS RUNNING)


    get default firewall zone

    1)firewall-cmd --get-default-zone


    now allow the samba service in firewall 2)sudo firewall-cmd --permanent --zone=public --add-service=samba

    now RELOAD the firewall 3)sudo firewaall-cmd --reload