V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
V2EX 提问指南
sujin190
V2EX  ›  问与答

nginx代理为什么ip能正常访问而域名就不行呢?

  •  
  •   sujin190 · 2013-09-07 16:01:31 +08:00 · 4734 次点击
    这是一个创建于 3888 天前的主题,其中的信息可能已经有所发展或是发生改变。
    使用ip可以正常访问,使用域名访问access日志中已经打印出200了
    [07/Sep/2013:15:59:26 +0800] "GET / HTTP/1.1" 200 0 "-" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/29.0.1547.62 Safari/537.36" "-"

    但error日志中却出现了这个
    2013/09/07 15:59:26 [info] 31885#0: *267 writev() failed (104: Connection reset by peer) while sending to client, client: 115.183.186.103, server: xxx.xxxx.xx, request: "GET / HTTP/1.1", upstream: "http://127.0.0.1:8000/", host: "xxx.xxxx.xx"
    页面也没有显示出来,这是为什么啊?
    1 条回复    1970-01-01 08:00:00 +08:00
    mongodb
        1
    mongodb  
       2013-09-07 16:55:44 +08:00
    104: Connection reset by peer

    1 GFW
    2 机房白名单
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   1014 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 28ms · UTC 23:24 · PVG 07:24 · LAX 16:24 · JFK 19:24
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.