--- check_http.c.orig 2008-01-29 10:58:01.000000000 -0500 +++ check_http.c 2008-01-29 11:01:47.000000000 -0500 @@ -753,7 +787,7 @@ /* optionally send the host header info */ if (host_name) - asprintf (&buf, "%sHost: %s\r\n", buf, host_name); + asprintf (&buf, "%sHost: %s:%d\r\n", buf, host_name, server_port); /* optionally send any other header tag */ if (http_opt_headers_count) {