Permalink
Browse files

Use 127.0.0.1 instead of localhost

  • Loading branch information...
1 parent d3f344a commit 57c6ebc65ada0eebb43a8d7d818ef81baa092442 @jferris jferris committed Oct 7, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/capybara/driver/webkit/browser.rb
@@ -162,7 +162,7 @@ def connect
end
def attempt_connect
- @socket = @socket_class.open("localhost", @server_port)
+ @socket = @socket_class.open("127.0.0.1", @server_port)
rescue Errno::ECONNREFUSED
end

0 comments on commit 57c6ebc

Please sign in to comment.