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
|
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
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue