开发者社区 > 云原生 > 正文

我部署了函数,用的 boostrap 文件,指定了端口,报下面这个错,请问是什么问题?

我部署了函数,用的 boostrap 文件,指定了端口,报下面这个错,请问是什么问题?

提问30.png

FC Invoke Start RequestId: 42234cb8-a672-4bf8-b265-4b986d13af52 [2022-09-06 10:49:02 +0000] [5] [INFO] Worker exiting (pid: 5)

[2022-09-06 10:49:02 +0000] [6] [INFO] Booting worker with pid: 6

[2022-09-06 10:49:02 +0000] [7] [INFO] Booting worker with pid: 7

  • Serving Flask app 'server'

  • Debug mode: on

  • Serving Flask app 'server'

  • Debug mode: on

Address already in use

Port 9000 is in use by another program. Either identify and stop that program, or start the server with a different port.

[2022-09-06 10:49:04 +0000] [6] [INFO] Worker exiting (pid: 6)

Address already in use

Port 9000 is in use by another program. Either identify and stop that program, or start the server with a different port.

[2022-09-06 10:49:04 +0000] [7] [INFO] Worker exiting (pid: 7)

[2022-09-06 10:49:04 +0000] [8] [INFO] Booting worker with pid: 8

[2022-09-06 10:49:04 +0000] [9] [INFO] Booting worker with pid: 9

  • Serving Flask app 'server'

  • Debug mode: on

  • Serving Flask app 'server'

  • Debug mode: on

Address already in use

Port 9000 is in use by another program. Either identify and stop that program, or start the server with a different port.

展开
收起
云上静思 2022-09-07 10:40:42 472 0
1 条回答
写回答
取消 提交回答
  • 9000被占用了?boostrap里面的脚本内容可以检查一下

    此答案来自钉钉群“阿里函数计算官网"

    2022-09-07 10:43:47
    赞同 展开评论 打赏

阿里云拥有国内全面的云原生产品技术以及大规模的云原生应用实践,通过全面容器化、核心技术互联网化、应用 Serverless 化三大范式,助力制造业企业高效上云,实现系统稳定、应用敏捷智能。拥抱云原生,让创新无处不在。

相关电子书

更多
APP加固新方向 --混淆和瘦身 立即下载
APP加固新方向-混淆和瘦身 立即下载
低代码开发师(初级)实战教程 立即下载