【问题标题】:Getting the error " Status 400: Client sent an HTTP request to an HTTPS server." while connecting to Docker on IntelliJ收到错误“状态 400:客户端向 HTTPS 服务器发送了 HTTP 请求。”在 IntelliJ 上连接到 Docker 时
【发布时间】:2020-10-08 17:54:30
【问题描述】:

我使用 Docker Toolbox 安装了 Docker,因为我使用的是 Windows 10 Home 版本。但是当我在 Intellij 中连接到 Docker 时,它会抛出以下错误。

状态 400:客户端向 HTTPS 服务器发送了 HTTP 请求。

如何解决?

Error

Docker Configuration

【问题讨论】:

  • 您使用什么 IntelliJ IDEA 版本?请与 IDE 中的 Docker 配置共享屏幕截图。
  • 我使用的是 Intellij 版本 2020.2.1
  • @CrazyCoder 我附上了截图。请检查
  • 您是否尝试过 Docker for Windows 选项?

标签: docker http intellij-idea


【解决方案1】:

尝试将引擎 API URL 从 tcp://$HOST:$PORT 更改为 https://$HOST:$PORT

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 2020-07-15
    • 1970-01-01
    • 2021-10-01
    • 1970-01-01
    • 2021-11-09
    • 1970-01-01
    • 2019-07-28
    • 1970-01-01
    相关资源
    最近更新 更多