The server is accessible from the local network (in dev environment).
This commit is contained in:
@ -19,7 +19,7 @@ config :beet_round_server, BeetRoundServer.Repo,
|
||||
config :beet_round_server, BeetRoundServerWeb.Endpoint,
|
||||
# Binding to loopback ipv4 address prevents access from other machines.
|
||||
# Change to `ip: {0, 0, 0, 0}` to allow access from other machines.
|
||||
http: [ip: {127, 0, 0, 1}, port: String.to_integer(System.get_env("PORT") || "4000")],
|
||||
http: [ip: {0, 0, 0, 0}, port: String.to_integer(System.get_env("PORT") || "4000")],
|
||||
check_origin: false,
|
||||
code_reloader: true,
|
||||
debug_errors: false,
|
||||
|
||||
Reference in New Issue
Block a user