apache - Not getting Reply from IIS server -
i trying migrate perl cgi script apache iis. when post data url not able reply back.. how should debug/fix it?
hosted on iis - not working
* xyz-macbook-pro:desktop xyz$ curl -v -x post -d@data.json "http://abc-q888gab4.cloudapp.net:1234/dseb/ecws.pl" -m 5 * hostname not found in dns cache * trying ***.***.***.*** ... * connected abc-q888gab4.cloudapp.net (***.***.*.* ) port 1234 (#0) > post /dseb/ecws.pl http/1.1 > user-agent: curl/7.37.1 > host: abc-q888gab4.cloudapp.net:1234 > accept: */* > content-length: 388 > content-type: application/x-www-form-urlencoded > * upload sent off: 388 out of 388 bytes * operation timed out after 5005 milliseconds 0 bytes received * closing connection 0 curl: (28) operation timed out after 5005 milliseconds 0 bytes received
hosted on apache -working fine
curl -v -x post -d "sad" http://<some-ip>:6421/cgi-bin /ecws/ecws.pl * connect() <some-ip> port 6421 (#0) * trying <some-ip>... * connected * connected <some-ip> (<some-ip>) port 6421 (#0) > post /cgi-bin/ecws/ecws.pl http/1.1 > user-agent: curl/7.28.1 > host: <some-ip>:6421 > accept: */* > content-length: 3 > content-type: application/x-www-form-urlencoded > * upload sent off: 3 out of 3 bytes < http/1.1 200 ok < date: fri, 02 oct 2015 23:17:29 gmt < server: apache/2.2.15 (red hat) < content-length: 0 < connection: close < content-type: text/html; charset=iso-8859-1 < * closing connection #0
Comments
Post a Comment