Browse files

start EM server on rather than localhost

localhost won't always work on an arbitrary network setup. should
always work, and listen on all interfaces.

Change-Id: Ib99b93952043458ef21d4d2e6d8193e3077fe930
  • Loading branch information...
1 parent 25fbf20 commit eaca032a7a199b6c357a649042ad4cbc929a51bc @vito vito committed Jan 5, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/caldecott/client/client.rb
2 lib/caldecott/client/client.rb
@@ -29,7 +29,7 @@ def self.start(opts)
puts "Starting local server on port #{local_port} to #{tun_url}"
- EM.start_server("localhost", local_port, TcpConnection) do |conn|
+ EM.start_server("", local_port, TcpConnection) do |conn|
# avoid races between tunnel setup and incoming local data

0 comments on commit eaca032

Please sign in to comment.