Bind endpoint to loopback ip address
1 files changed, 1 insertions(+), 1 deletions(-) M config/runtime.exs
M config/runtime.exs => config/runtime.exs +1 -1
@@ 56,7 56,7 @@ if config_env() == :prod do # Set it to {0, 0, 0, 0, 0, 0, 0, 1} for local network only access. # See the documentation on https://hexdocs.pm/plug_cowboy/Plug.Cowboy.html # for details about using IPv6 vs IPv4 and loopback vs public addresses. ip: {0, 0, 0, 0, 0, 0, 0, 0}, ip: {0, 0, 0, 0, 0, 0, 0, 1}, port: port ], secret_key_base: secret_key_base