1
0
Fork 0
mirror of https://github.com/thoughtbot/capybara-webkit synced 2023-03-27 23:22:28 -04:00

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

View file

@ -162,7 +162,7 @@ class Capybara::Driver::Webkit
end end
def attempt_connect def attempt_connect
@socket = @socket_class.open("localhost", @server_port) @socket = @socket_class.open("127.0.0.1", @server_port)
rescue Errno::ECONNREFUSED rescue Errno::ECONNREFUSED
end end