在单个端口上运行多个烧瓶webservice

时间:2017-10-11 13:13:08

标签: python linux web-services flask

我需要在单个端口上运行多个flask webservice。

我只能使用以下命令在端口8080上运行一个Web服务:

if __name__ == '__main__':
   app.run(host='0.0.0.0',port=8080,debug=True)

如何使用此端口运行多个Web服务,因为我只能使用此端口。

0 个答案:

没有答案
相关问题