summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--test/net/http/test_http.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/net/http/test_http.rb b/test/net/http/test_http.rb
index 53092ee0e8..55fc983a0f 100644
--- a/test/net/http/test_http.rb
+++ b/test/net/http/test_http.rb
@@ -1249,7 +1249,7 @@ end
class TestNetHTTPLocalBind < Test::Unit::TestCase
CONFIG = {
- 'host' => 'localhost',
+ 'host' => '127.0.0.1',
'proxy_host' => nil,
'proxy_port' => nil,
}
@@ -1286,7 +1286,7 @@ end
class TestNetHTTPForceEncoding < Test::Unit::TestCase
CONFIG = {
- 'host' => 'localhost',
+ 'host' => '127.0.0.1',
'proxy_host' => nil,
'proxy_port' => nil,
}