我要评分
获取效率
正确性
完整性
易理解

Invalid Resolver Port Reported When Starting Tengine

Symptom

When the Tengine is started, the message "invalid port in resolver '2017:231::6:6' in /usr/local/tengine-nginx/conf/nginx.conf:127" is displayed indicating that the resolver port is invalid.

Key Process and Cause Analysis

In this version, the function of automatically parsing the /etc/resolve.conf file to build the resolver does not support IPv6. As a result, this problem occurs during parsing.

Conclusion and Solution

Delete nameserver from the /etc/resolv.conf file and restart Tengine.