Error code 500 is an internal server error. Wget reads this error code in the headers and doesn't even bother to get the content. Therefore, there is a problem with the server that needs to be fixed.
$ wget -S http://121.199.111.177/ --2010-12-05 02:18:32-- http://121.199.111.177/ Connecting to 121.199.111.177:80... connected. HTTP request sent, awaiting response... HTTP/1.1 500 Internal Server Error Cache-Control: private Content-Type: text/html; charset=utf-8 Server: Microsoft-IIS/7.5 X-Powered-By: ASP.NET X-UA-Compatible: IE=EmulateIE7 Date: Sun, 05 Dec 2010 00:19:02 GMT Connection: keep-alive Content-Length: 4722 2010-12-05 02:18:49 ERROR 500: Internal Server Error.
Debugging some telnet matches the above:
$ telnet 121.199.111.177 80 Trying 121.199.111.177... Connected to 121.199.111.177. Escape character is '^]'. GET / HTTP/1.0 HTTP/1.1 500 Internal Server Error Cache-Control: private Content-Type: text/html; charset=utf-8 Server: Microsoft-IIS/7.5 X-Powered-By: ASP.NET X-UA-Compatible: IE=EmulateIE7 Date: Sun, 05 Dec 2010 00:36:02 GMT Connection: close Content-Length: 4722 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title>IIS 7.5 详细错误 - 500.19 - Internal Server Error</title> <style type="text/css"> <!-- body{margin:0;font-size:.Connection closed by foreign host.
source share