IIS returns 500 when Node app returns a 4xx
问题 I have also asked this on the iisnode github project I am using IISNode via a Windows Azure Website. If my Node app returns a 2xx status code (200, 201, etc), then all is well and works as expected. if my Node app returns a 4xx status code, for example: response.send(404, "not found") (I am using Restify) then I get a 500 sent to the client and the body is simply "The page cannot be displayed because an internal server error has occurred." If I do azure site log tail <sitename> , then when