request.host_with_port  grabs the host as it came into the server with the request.  So if the user was using the ipaddress, it will display the ipaddress, if the user used 'blahblahblah' it would display 'blahblahblah'.