Community
OpenEnergyMonitor

Community

SBFSpot

smasolar
emonpi
emoncms
Tags: #<Tag:0x00007f16b0e834d8> #<Tag:0x00007f16b0e83258> #<Tag:0x00007f16b0e830a0>

(Chaveiro) #65

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


(Greebo) #66
[email protected](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

[email protected](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:


(Chaveiro) #67

There you have it, it comes from the /etc/hosts file.
It’s explained on this link: https://www.linuxquestions.org/questions/linux-networking-3/what-does-127-0-1-1-mean-623421/


(Daniel Bates) #68

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: