diff --git a/library/net-ftp/fixtures/server.rb b/library/net-ftp/fixtures/server.rb index ecbed591d5..8b34d3f8bd 100644 --- a/library/net-ftp/fixtures/server.rb +++ b/library/net-ftp/fixtures/server.rb @@ -9,7 +9,7 @@ class DummyFTP attr_reader :server_port def initialize - @hostname = "localhost" + @hostname = "127.0.0.1" @server = TCPServer.new(@hostname, 0) @server_port = @server.addr[1]