From 8522fd2f56c158a8f8ccdd4945cbd6f837bc835d Mon Sep 17 00:00:00 2001 From: Sdogruyol Date: Sat, 12 Dec 2015 21:35:17 +0200 Subject: [PATCH] Fix binding --- src/kemal.cr | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/kemal.cr b/src/kemal.cr index 64830bf..41f8219 100644 --- a/src/kemal.cr +++ b/src/kemal.cr @@ -20,7 +20,7 @@ at_exit do config.add_handler Kemal::StaticFileHandler.new(config.public_folder) config.add_handler Kemal::Handler::INSTANCE - server = HTTP::Server.new(config.port, config.handlers) + server = HTTP::Server.new("0.0.0.0", config.port, config.handlers) server.ssl = config.ssl logger.write "[#{config.env}] Kemal is ready to lead at #{config.scheme}://0.0.0.0:#{config.port}\n"