diff --git a/jetty-server/src/main/java/org/eclipse/jetty/server/ForwardedRequestCustomizer.java b/jetty-server/src/main/java/org/eclipse/jetty/server/ForwardedRequestCustomizer.java index dac5c33f0c4d..9f34c4066645 100644 --- a/jetty-server/src/main/java/org/eclipse/jetty/server/ForwardedRequestCustomizer.java +++ b/jetty-server/src/main/java/org/eclipse/jetty/server/ForwardedRequestCustomizer.java @@ -880,7 +880,7 @@ else if ("off".equalsIgnoreCase(field.getValue()) || "false".equalsIgnoreCase(fi { _secure = false; updateProto(HttpScheme.HTTP.asString(), Source.XPROXIED_HTTPS); - updatePort(80, Source.XPROXIED_HTTPS); + updatePort(MutableHostPort.IMPLIED, Source.XPROXIED_HTTPS); } else {