Skip to content

无法连接到node-odm-1。 #1832

@Ethansgit

Description

@Ethansgit

使用了网络代理,导致端口被转发了 后端执行
(base) linux@CHINAMI-LT0LGT3:~/WebODM$ docker exec -it webapp bash
root@f45480f43fa3:/webodm# curl http://webodm-node-odm-1:3000/info
curl: (7) Failed to connect to 127.0.0.1 port 26644 after 0 ms: Connection refused

尝试关闭webapp的代理执行
unset HTTP_PROXY HTTPS_PROXY ALL_PROXY http_proxy https_proxy all_proxy后

后端测试root@f45480f43fa3:/webodm# curl http://webodm-node-odm-1:3000/info
{"version":"2.2.4","taskQueueCount":0,"totalMemory":50425069568,"availableMemory":47779819520,"cpuCores":28,"maxImages":null,"maxParallelTasks":1,"engineVersion":"3.5.6","engine":"odm"}root@f45480f43fa3:/webodm#

可以访问http://webodm-node-odm-1:3000/info了 但是前端还是显示
无法连接到node-odm-1。
主机名 webodm-node-odm-1
端口 3000

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions