Skip to content
This repository has been archived by the owner on Mar 3, 2020. It is now read-only.

Commit

Permalink
Use 127.0.0.1 instead of localhost
Browse files Browse the repository at this point in the history
  • Loading branch information
jferris committed Oct 7, 2011
1 parent d3f344a commit 57c6ebc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/capybara/driver/webkit/browser.rb
Expand Up @@ -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

Expand Down

0 comments on commit 57c6ebc

Please sign in to comment.