Browse files

Bind to 0.0.0.0 instead of localhost.

  • Loading branch information...
1 parent ba0b8cc commit d1330162c773b50a13ee1090b3c7a024dab2fba4 @technomancy committed Nov 21, 2012
Showing with 2 additions and 2 deletions.
  1. +1 −1 bin/receiver
  2. +1 −1 bin/web
View
2 bin/receiver
@@ -4,5 +4,5 @@ require "puma"
require "sokoban/receiver"
s = Puma::Server.new(Sokoban::Receiver.new(ENV["REPO_GET_URL"]))
-s.add_tcp_listener("localhost", (ENV["PORT"] || 5000))
+s.add_tcp_listener("0.0.0.0", (ENV["PORT"] || 5000))
s.run.join
View
2 bin/web
@@ -4,5 +4,5 @@ require "puma"
require "sokoban"
s = Puma::Server.new(Sokoban::Proxy.new)
-s.add_tcp_listener("localhost", (ENV["PORT"] || 5000))
+s.add_tcp_listener("0.0.0.0", (ENV["PORT"] || 5000))
s.run.join

0 comments on commit d133016

Please sign in to comment.