0
0

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 3 years have passed since last update.

TeraTerm SSH 転送を使用する

Posted at

初めに

TeraTerm の SSH 転送をよく忘れるのでメモしておきます。

やりたいこと

使用している端末のブラウザで、リモートの localhost で実行しているアプリケーションを閲覧することが目的です。

現在、アプリケーションサーバーは、localhost の 8080 をリッスンしています。

[ec2-user@ip-172-31-46-239 compose_test]$ curl http://localhost:8080
Hello World!

TeraTerm の SSH ポート転送

TeraTerm を開き、「設定」→ 「SSH 転送」→ 「追加」の順にクリックします。以下のように設定し、「OK」をクリックします。

image.png

続けて「OK」をクリックします。

image.png

ブラウザの URL に localhost:8080 と入力し、アプリケーションにアクセスします。

image.png

参考記事

0
0
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
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?