-
Notifications
You must be signed in to change notification settings - Fork 58
How to Change Binding IP
Dimitrios Zorbas edited this page Nov 13, 2016
·
2 revisions
The default binding address is 127.0.0.1. You can specify a different address with any of the following ways:
config :kitto, ip: {127, 0, 0, 1}
Change config/config.ex
to fetch the address from the environment.
config :kitto, ip: {:system, "KITT0_IP"}
Pass the env variable when starting the server
KITTO_IP=0.0.0.0 mix kitto.server
See also: https://github.com/kittoframework/kitto/wiki/How-To-Change-HTTP-Port