Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Use 127.0.0.1 instead of localhost

  • Loading branch information...
commit 57c6ebc65ada0eebb43a8d7d818ef81baa092442 1 parent d3f344a
Joe Ferris jferris authored

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. +1 1  lib/capybara/driver/webkit/browser.rb
2  lib/capybara/driver/webkit/browser.rb
@@ -162,7 +162,7 @@ def connect
162 162 end
163 163
164 164 def attempt_connect
165   - @socket = @socket_class.open("localhost", @server_port)
  165 + @socket = @socket_class.open("127.0.0.1", @server_port)
166 166 rescue Errno::ECONNREFUSED
167 167 end
168 168

0 comments on commit 57c6ebc

Please sign in to comment.
Something went wrong with that request. Please try again.