ISt der Fall bei Debian Buster...
Habe mir gerade den EMQX MQTT Server installiert, nun wollte ich das Ding mit ´telnet localhost 1883´ testen. Antwort:
Code: Alles auswählen
root@debian10-emqx:~# telnet localhost 1883
Trying 127.0.0.1...
Trying ::1...
telnet: Unable to connect to remote host: Cannot assign requested address
Code: Alles auswählen
root@debian10-emqx:~# cat /etc/hosts
127.0.0.1 localhost
127.0.1.1 debian10-emqx
# The following lines are desirable for IPv6 capable hosts
::1 localhost ip6-localhost ip6-loopback
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
root@debian10-emqx:~#
´cat /etc/hostname´:
Code: Alles auswählen
root@debian10-emqx:~# cat /etc/hostname
debian10-emqx
Anmerkungen:
- Habe den Backports-Kernel (aus buster-backports) installiert: ´uname -r´:
Code: Alles auswählen
root@debian10-emqx:~# uname -r
5.10.0-0.bpo.7-amd64
Code: Alles auswählen
# J.M., yyyy-mm-dd {
net.ipv6.conf.all.disable_ipv6 = 1
net.ipv4.conf.all.arp_filter=1
net.ipv4.conf.all.arp_ignore=1
net.ipv4.conf.all.arp_announce=2
# } J.M., yyyy-mm-dd
Weiss jemand, woran das liegen könnte? Sollte doch richtig sein in ´/etc/hosts´, der bei der Installation festgelegte Host-Namen (den ich nachträglich geändert habe) ist doch korrekt, wenn er auf 127.0.1.1 (NICHT 127.0.0.1!!) gemappt wird...?
Vielen Dank für eure Feedbacks!