aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--spec/ruby/library/net/http/http/fixtures/http_server.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/ruby/library/net/http/http/fixtures/http_server.rb b/spec/ruby/library/net/http/http/fixtures/http_server.rb
index 198fef36fb..49e8f437cc 100644
--- a/spec/ruby/library/net/http/http/fixtures/http_server.rb
+++ b/spec/ruby/library/net/http/http/fixtures/http_server.rb
@@ -64,7 +64,7 @@ module NetHTTPSpecs
def start_server
server_config = {
- BindAddress: "localhost",
+ BindAddress: "127.0.0.1",
Port: 0,
Logger: WEBrick::Log.new(NullWriter.new),
AccessLog: [],