Why does my machine think its name is localhost even though I changed it?
Edit /etc/hosts. Find the line with your chosen hostname on it. That’s what your machine considers its primary IP. What’s the first hostname on the line? Yeah, thought so.
/derf-question