diff --git a/web/concrete/src/Application/Application.php b/web/concrete/src/Application/Application.php
index <HASH>..<HASH> 100644
--- a/web/concrete/src/Application/Application.php
+++ b/web/concrete/src/Application/Application.php
@@ -411,6 +411,7 @@ class Application extends Container
         $url = Url::createFromUrl('');
         $url->getScheme()->set($r->getScheme());
         $url->getHost()->set($r->getHost());
+        $url->getPort()->set($r->getPort());
         $url->getPath()->append($home);
 
         $this['app_relative_path'] = rtrim($home, '/');
Make running c5 on a non-standard port work


Former-commit-id: <I>eb<I>fc0ec<I>ae<I>f1c0b<I>cce<I>dc<I>