I solved this with: For sample, if my machine name is: ip-10-0-0-50 then add : "127.0.1.1 ip-10-0-0-50" to hosts file. sudo vi /etc/hosts # .