Skip to content

Commit f3f8049

Browse files
committed
Use explicit loopback
1 parent a0c5603 commit f3f8049

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/mix/lib/mix/tasks/deps.partition.ex

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ defmodule Mix.Tasks.Deps.Partition do
2525
System.find_executable("elixir") ||
2626
raise "cannot find elixir executable for partition compilation"
2727

28-
{:ok, {ip, port}} = :inet.sockname(socket)
28+
{:ok, {_ip, port}} = :inet.sockname(socket)
2929
ansi_flag = if IO.ANSI.enabled?(), do: ~c"--color", else: ~c"--no-color"
3030
force_flag = if force?, do: ~c"--force", else: ~c"--no-force"
3131

@@ -63,7 +63,7 @@ defmodule Mix.Tasks.Deps.Partition do
6363
~c"--port",
6464
Integer.to_charlist(port),
6565
~c"--host",
66-
:inet.ntoa(ip)
66+
~c"127.0.0.1"
6767
]
6868

6969
options = [

0 commit comments

Comments
 (0)