Use 127.0.0.1 instead of localhost

This commit is contained in:
Joe Ferris 2011-10-07 11:19:25 -04:00
parent d3f344af44
commit 57c6ebc65a
1 changed files with 1 additions and 1 deletions

View File

@ -162,7 +162,7 @@ class Capybara::Driver::Webkit
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