flask.Request.host

Request.host

Just the host including the port if available. See also: trusted_hosts.