In the http.lua file and the 111 line, you should change
The http.lua file path is /usr/local/share/lua/5.1/socket
local c = socket.try((create or socket.tcp)())
to
local c = socket.try((create or socket.tcp6)())
# run gather process
/usr/local/openresty/nginx/rea.lua > /dev/null &