Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(785)

Side by Side Diff: tools/android/adb_remote_setup.sh

Issue 1236473005: Force IPv4 in adb_remote_setup.sh. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 #!/bin/bash 1 #!/bin/bash
2 # Copyright 2014 The Chromium Authors. All rights reserved. 2 # Copyright 2014 The Chromium Authors. All rights reserved.
3 # Use of this source code is governed by a BSD-style license that can be 3 # Use of this source code is governed by a BSD-style license that can be
4 # found in the LICENSE file. 4 # found in the LICENSE file.
5 5
6 # URL from which the latest version of this script can be downloaded. 6 # URL from which the latest version of this script can be downloaded.
7 # Gitiles returns the result as base64 formatted, so the result needs to be 7 # Gitiles returns the result as base64 formatted, so the result needs to be
8 # decoded. See https://code.google.com/p/gitiles/issues/detail?id=7 for 8 # decoded. See https://code.google.com/p/gitiles/issues/detail?id=7 for
9 # more information about this security precaution. 9 # more information about this security precaution.
10 script_url="https://chromium.googlesource.com/chromium/src.git/+/master" 10 script_url="https://chromium.googlesource.com/chromium/src.git/+/master"
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after
81 adb start-server 81 adb start-server
82 82
83 # Forward various ports from the remote host to the local host: 83 # Forward various ports from the remote host to the local host:
84 # 5037: adb 84 # 5037: adb
85 # 8001: http server 85 # 8001: http server
86 # 9031: sync server 86 # 9031: sync server
87 # 9041: search by image server 87 # 9041: search by image server
88 # 9051: policy server 88 # 9051: policy server
89 # 10000: net unittests 89 # 10000: net unittests
90 # 10201: net unittests 90 # 10201: net unittests
91 ssh -C \ 91 ssh -4 -C \
92 -R 5037:localhost:5037 \ 92 -R 5037:localhost:5037 \
93 -L 8001:localhost:8001 \ 93 -L 8001:localhost:8001 \
94 -L 9031:localhost:9031 \ 94 -L 9031:localhost:9031 \
95 -L 9041:localhost:9041 \ 95 -L 9041:localhost:9041 \
96 -L 9051:localhost:9051 \ 96 -L 9051:localhost:9051 \
97 -R 10000:localhost:10000 \ 97 -R 10000:localhost:10000 \
98 -R 10201:localhost:10201 \ 98 -R 10201:localhost:10201 \
99 "$remote_host" 99 "$remote_host"
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698