sujin190
V2EX  ›  问与答

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

  •  
  •   sujin190 · Sep 7, 2013 · 5446 views
    This topic created in 4710 days ago, the information mentioned may be changed or developed.
    使用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 replies    1970-01-01 08:00:00 +08:00
    mongodb
        1
    mongodb  
       Sep 7, 2013
    104: Connection reset by peer

    1 GFW
    2 机房白名单
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   916 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 23ms · UTC 19:25 · PVG 03:25 · LAX 12:25 · JFK 15:25
    ♥ Do have faith in what you're doing.