# File lib/action_dispatch/http/request.rb, line 256 def local? LOCALHOST.any? { |local_ip| local_ip === remote_addr && local_ip === remote_ip } end