Issue #1645156 by attiks, tstoeckler, Albert Volkman, Carsten Müller, Sweetchuck: Fixed URL generation only works on port 80.