diff options
Diffstat (limited to 'test/net/http')
-rw-r--r-- | test/net/http/test_https_proxy.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/net/http/test_https_proxy.rb b/test/net/http/test_https_proxy.rb index 41e6ca0e59..5b237216f4 100644 --- a/test/net/http/test_https_proxy.rb +++ b/test/net/http/test_https_proxy.rb @@ -3,7 +3,7 @@ require 'test/unit' class HTTPSProxyTest < Test::Unit::TestCase def test_https_proxy_authentication - TCPServer.open(0) {|serv| + TCPServer.open("127.0.0.1", 0) {|serv| _, port, _, _ = serv.addr t = Thread.new { proxy = Net::HTTP.Proxy("127.0.0.1", port, 'user', 'password') |