summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--java/sca/modules/host-jetty/src/main/java/org/apache/tuscany/sca/http/jetty/JettyServer.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/java/sca/modules/host-jetty/src/main/java/org/apache/tuscany/sca/http/jetty/JettyServer.java b/java/sca/modules/host-jetty/src/main/java/org/apache/tuscany/sca/http/jetty/JettyServer.java
index 780fb5887d..d3115ce6f3 100644
--- a/java/sca/modules/host-jetty/src/main/java/org/apache/tuscany/sca/http/jetty/JettyServer.java
+++ b/java/sca/modules/host-jetty/src/main/java/org/apache/tuscany/sca/http/jetty/JettyServer.java
@@ -76,7 +76,8 @@ public class JettyServer implements ServletHost {
private boolean sendServerVersion;
private WorkScheduler workScheduler;
- private int defaultPort = 8080;
+ private int defaultPort = portDefault;
+ public static int portDefault = 8080;
/**
* Represents a port and the server that serves it.