SBFSpot

If you do ping emonpi what ip addresses it resolves to?

pi@emonpi(ro):~$ ping emonpi
ping: icmp open socket: Operation not permitted

Interestingly though, I can ssh to 127.0.1.1 and it connects. Where does that IP come from and why is it listed?

[EDIT] Answered my own question

pi@emonpi(ro):~$ cat /etc/hosts
127.0.0.1       localhost
::1             localhost ip6-localhost ip6-loopback
ff02::1         ip6-allnodes
ff02::2         ip6-allrouters

127.0.1.1       emonpi

Still wondering why though…

[EDIT#2]… Answer here
Still think its an error to display it on the Server page though :slight_smile:

There you have it, it comes from the /etc/hosts file.
It’s explained on this link: what does 127.0.1.1 mean ???

I agree, looking at the manual, seems to say 127.0.1.1 is there for a workaround and is not the norm. A very commonly used workaround perhaps :slight_smile: