standard_port()
Returns the standard \port number for this request’s protocol.
# File actionpack/lib/action_controller/request.rb, line 305 def standard_port case protocol when 'https://' then 443 else 80 end end