sintaxi / surge

CLI for the surge.sh CDN
https://surge.sh
2.84k stars 136 forks source link

tunneling socket could not be established, cause=connect #408

Open Njinga opened 4 years ago

Njinga commented 4 years ago

I executed surge in cmd while trying to introduce myself to vue.js deployment but unfortunately just after typing email and password I got this error:

C:\Users\PC\AppData\Roaming\npm\node_modules\surge\lib\middleware\util\helpers.js:146 if (e) throw e ^

Error: tunneling socket could not be established, cause=connect ECONNREFUSED 127.0.0.1:80 at ClientRequest.onError (C:\Users\PC\AppData\Roaming\npm\node_modules\surge\node_modules\tunnel-agent\index.js:177:17) at Object.onceWrapper (events.js:418:26) at ClientRequest.emit (events.js:311:20) at Socket.socketErrorListener (_http_client.js:426:9) at Socket.emit (events.js:311:20) at emitErrorNT (internal/streams/destroy.js:92:8) at emitErrorAndCloseNT (internal/streams/destroy.js:60:3) at processTicksAndRejections (internal/process/task_queues.js:84:21) { code: 'ECONNRESET'