Forward 31842.
Each additional mapping starts a new server on an incremented port. This
patch allows two mappings to work.
BUG=
R=ppi@chromium.org
Review URL: https://codereview.chromium.org/1529963002 .
Cr-Mirrored-From: https://github.com/domokit/mojo
Cr-Mirrored-Commit: b2b646b5c9697feb70e41a15dfe750cb45ae0a9d
diff --git a/remote_adb_setup b/remote_adb_setup
index 4ecd48c..7378d9e 100755
--- a/remote_adb_setup
+++ b/remote_adb_setup
@@ -46,7 +46,7 @@
# 9998: http server for Flutter
# 31839: http server for https://core.mojoapps.io
# 31840: http server for the local mojo: origin
-# 31841: http server for base mappings
+# 31841-31842: http servers for origin mappings
ssh -C \
-R 5037:127.0.0.1:5037 \
-L 8181:127.0.0.1:8181 \
@@ -54,4 +54,5 @@
-L 31839:127.0.0.1:31839 \
-L 31840:127.0.0.1:31840 \
-L 31841:127.0.0.1:31841 \
+ -L 31842:127.0.0.1:31842 \
"$remote_host"