0
0

Java の SSLSocket 生成時に Underlying socket is not connect. が発生する

Last updated at Posted at 2023-09-21

背景

  • Socket から SSLSocket を生成しようとした際、はまった。
  • つまらないことだった・・・・。

解決

  • new Socket() をした後に、socket.connect を実行しなければならない。
  • new Socket() しただけでは接続されないから、そりゃあ接続できないエラーが出ますわな....
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