Socket hangup while posting request to Node-http-proxy Node.js
问题 I'm working in Node.js Project and I want node to act as a proxy for solr For proxy: I used Node-http-proxy. the problem is that proxy work excellent in case of get requests but in case of post requests it results in socket hang up exception Here is a sample of my node code var express = require('express'); var router = express.Router(); var http = require('http'); var httpProxy = require('http-proxy') var proxyOptions = { host: "127.0.0.1", port: 8983 }; var proxy = httpProxy