Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
有人用过nameko吗?
在其文档中,我找不到任何有关更改侦听端口的信息:http: //nameko.readthedocs.io/en/stable/built_in_extensions.html#http-get-post
这可能吗?
正如(最终)在gh 问题上回答的那样:
您需要使用带有密钥的配置文件WEB_SERVER_ADDRESS:
WEB_SERVER_ADDRESS
# config.yaml AMQP_URI: amqp://guest:guest@localhost WEB_SERVER_ADDRESS: 0.0.0.0:8888
然后
$ nameko run --config config.yaml your_service_module
官方参考