]> source.dussan.org Git - vaadin-framework.git/commitdiff
new TT default port for TK5
authorMatti Tahvonen <matti.tahvonen@itmill.com>
Thu, 10 Jan 2008 10:01:20 +0000 (10:01 +0000)
committerMatti Tahvonen <matti.tahvonen@itmill.com>
Thu, 10 Jan 2008 10:01:20 +0000 (10:01 +0000)
svn changeset:3441/svn branch:trunk

src/com/itmill/toolkit/terminal/gwt/server/ApplicationServlet.java

index bcf32a6c07c240c03e3e636ba59c43be1af87a96..f4732d0419c5845f5f174e949ddc1ef4df475993 100644 (file)
@@ -731,11 +731,9 @@ public class ApplicationServlet extends HttpServlet {
     private String getTestingToolsUri(HttpServletRequest request) {
         if (testingToolsServerUri == null) {
             // Default behavior is that Testing Tools Server application exists
-            // on same application server as current application does.
-            testingToolsServerUri = "http" + (request.isSecure() ? "s" : "")
-                    + "://" + request.getServerName() + ":"
-                    + request.getLocalPort()
-                    + "/TestingTools/TestingToolsServer";
+            // on same host as current application does in port 8089.
+            testingToolsServerUri = "http" + "://" + request.getServerName()
+                    + ":8089" + "/TestingTools/TestingToolsServer";
         }
         return testingToolsServerUri;
     }