mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-02-27 14:24:52 +00:00
Blocking.pm: replace localhost with 127.0.0.1 for broken setups.
git-svn-id: https://svn.fhem.de/fhem/trunk@23268 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
ed33ac8607
commit
51840df8d1
@ -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: $@";
|
||||
|
Loading…
x
Reference in New Issue
Block a user