1. Disable firewalld
[root@teguhth ~]# systemctl stop firewalld
[root@teguhth ~]# systemctl disable firewalld
Removed symlink /etc/systemd/system/multi-user.target.wants/firewalld.service.
Removed symlink /etc/systemd/system/dbus-org.fedoraproject.FirewallD1.service.
[root@teguhth ~]#
2. add /etc/hosts
[root@teguhth ~]# cat /etc/hosts
127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4
::1 localhost localhost.localdomain localhost6 localhost6.localdomain6
10.10.10.50 teguhth
[root@teguhth ~]#