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:
parent
d3f344af44
commit
57c6ebc65a
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue