开发者

HTTP::Server::Simple Won't install

开发者 https://www.devze.com 2023-02-24 06:28 出处:网络
Fails a test, don\'t know how to get around it. #Failed test \'Environment - REMOTE_ADDR\' #at t/04cgi.t line 64.

Fails a test, don't know how to get around it.

#   Failed test 'Environment - REMOTE_ADDR'
#   at t/04cgi.t line 64.
#                   'HTTP/1.0 200 OK
# Content-Type: text/html
# Content-Length: 27
# 
# REMOTE_ADDR: 17x.x.x.x'
#     doesn't match '/REMOTE_ADDR: 127.0.0.1/'
t/04cgi.t .......... 19/23 # Looks like you failed 1 test of 23.
t/04cgi.t .......... Dubious, test 开发者_如何转开发returned 1 (wstat 256, 0x100)
Failed 1/23 subtests 

Apparently an environmental variable is set to the VPS's host ip; not 127.0.0.1?


force the install step.

To find out why the test fails, step through the debugger. The interesting part is HTTP::Server::Simple::lookup_localhost. Perhaps your /etc/hosts file is frobnitzed.

0

精彩评论

暂无评论...
验证码 换一张
取 消