def run(self, host=None, port=None, debug=None, **options):
if host is None:
host = '127.0.0.1'
This is for flask run 函数的源码,host未指定时,会默认赋为'127.0.0.1',而使用回送地址发送数据,协议软件立即返回,不进行任何网络传输。Temporary failure in name resolution, check the dns settings of the resolv.conf file.
This is for flask
run
函数的源码,host未指定时,会默认赋为'127.0.0.1',而使用回送地址发送数据,协议软件立即返回,不进行任何网络传输。Temporary failure in name resolution
, check the dns settings of the resolv.conf file.