内网非标准端口,执行python脚本无反应,seatable容器nginx出错

seatable-data/nginx-logs/socket-io.error.log内容:

2022/09/16 09:23:14 [error] 35#35: *7917 connect() failed (111: Connection refused) while connecting to upstream, client: 10.89.0.8, server: 192.168.20.12, request: “GET /socket.io/?dtable_uuid=b68b5742-98ab-41a3-93e5-f930ef611767&EIO=3&transport=polling&t=OD3v8aJ HTTP/1.1”, upstream: “http://127.0.0.1:5000/socket.io/?dtable_uuid=b68b5742-98ab-41a3-93e5-f930ef611767&EIO=3&transport=polling&t=OD3v8aJ”, host: “192.168.20.12:8040”, referrer: “http://192.168.20.12:8040/workspace/1/dtable/test1/?tid=0000&vid=0000

均在同一系统.
端口
seatable: 8040
faas: 8048
runner: 8042

可是在seatable容器执行结果:
root@f2cf7c05d958:/opt/seatable# curl http://127.0.0.1:5000/socket.io/?dtable_uuid=b68b5742-98ab-41a3-93e5-f930ef611767&EIO=3&transport=polling&
t=OD3v8aJ
[1] 1329
[2] 1330
[3] 1331
root@f2cf7c05d958:/opt/seatable# {“code”:0,“message”:“Transport unknown”}

好吧,我自己解决了……
至少三个问题:
两个nginx的转发地址问题,一个不能使用内存限制功能的问题。