diff --git a/java/server/src/org/openqa/selenium/grid/node/local/LocalNode.java b/java/server/src/org/openqa/selenium/grid/node/local/LocalNode.java
index <HASH>..<HASH> 100644
--- a/java/server/src/org/openqa/selenium/grid/node/local/LocalNode.java
+++ b/java/server/src/org/openqa/selenium/grid/node/local/LocalNode.java
@@ -461,7 +461,7 @@ public class LocalNode extends Node {
   private URI rewrite(String path) {
     try {
       return new URI(
-        gridUri.getScheme(),
+        "ws",
         gridUri.getUserInfo(),
         gridUri.getHost(),
         gridUri.getPort(),
[java] Return a ws scheme instead of the http scheme of the grid