For anyone who's interested in /etc/hosts I changed the line 127.0.0.1 localhost to 127.0.0.1 localhost calc