Blocking.pm: replace localhost with 127.0.0.1 for broken setups.

git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@23268 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
rudolfkoenig 2020-12-01 11:48:48 +00:00
parent af4b8471f4
commit a2e7964b12

View File

@ -224,7 +224,7 @@ BlockingInformParent($;$$$)
# Write the data back, calling the function
if(!$telnetClient) {
my $addr = "localhost:$defs{$BC_telnetDevice}{PORT}";
my $addr = "127.0.0.1:$defs{$BC_telnetDevice}{PORT}";
$telnetClient = IO::Socket::INET->new(PeerAddr => $addr);
if(!$telnetClient) {
Log 1, "BlockingInformParent ($informFn): Can't connect to $addr: $@";