Skip to content

Commit 309b2d4

Browse files
teste
1 parent 0be8014 commit 309b2d4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/cluster.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -261,7 +261,7 @@ function start_worker(out::IO, cookie::AbstractString=readline(stdin); close_std
261261
stderr_to_stdout && redirect_stderr(stdout)
262262

263263
init_worker(cookie)
264-
interface = IPv6(LPROC.bind_addr)
264+
interface = IPv4(LPROC.bind_addr)
265265
if LPROC.bind_port == 0
266266
port_hint = 9000 + (getpid() % 1000)
267267
(port, sock) = listenany(interface, UInt16(port_hint))
@@ -1397,7 +1397,7 @@ function init_bind_addr()
13971397
else
13981398
bind_port = 0
13991399
try
1400-
bind_addr = string(getipaddr(IPv6))
1400+
bind_addr = string(getipaddr())
14011401
catch
14021402
# All networking is unavailable, initialize bind_addr to the loopback address
14031403
# Will cause an exception to be raised only when used.

0 commit comments

Comments
 (0)