当我尝试启动supervisord来inet_http_server
监听所有接口时,我得到:
Error: Could not determine IP address for hostname xxx.xxx.xxx.xxx, please try setting an
explicit IP address in the "port" setting of your [inet_http_server] section. For
example, instead of "port = 9001", try "port = 127.0.0.1:9001."
For help, use /usr/bin/supervisord -h
我该如何解决?
答案1
最简单的方法是修改你的supervisord配置文件。
sudo vi /etc/supervisor/supervisord.conf
在文件末尾你会看到
[inet_http_server]
port=*:9001
改变为;
[inet_http_server]
port=0.0.0.0:9001