Use 127.0.0.1 instead of localhost
This commit is contained in:
parent
d3f344af44
commit
57c6ebc65a
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue