1
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

AndroidDriverのポートフォワーディング設定でcannot bind to socketがでたら

Last updated at Posted at 2013-12-01

AndroidDriverに限らずだけれど、ポートフォワーディング設定とか、サーバたちあげたりする時にエラーが出たときは、設定しようとするポート番号が使用されていないかをチェックする。

adb -s (device serial id) forward tcp:8080 tcp:8080

cannot bind to socketと言われたら、ポート番号を変えてみる。

adb -s (device serial id) forward tcp:9002 tcp:8080

たとえば、8080とかだとJenkins先生のデフォルトと被ったりだとか、何かと被りやすいので、別のポート番号を使用するといいかもしれない。

AndroidDriverに限らず!念押し!。。。(よくやる)

1
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?