need location.hostm, not hostname: includes port