Returns the standard port number for this request’s protocol
# File action_controller/request.rb, line 189 def standard_port case protocol when 'https://' then 443 else 80 end end
<code/>
<pre/>
<code/>and<pre/>for code samples.