[HPM] Error occurred while trying to proxy request 终端报错

后台报错信息:

[HPM] Error occurred while trying to proxy request /aws/compreElement?type=prec&element=sumprec&prectime=1h&time=20211126080000&procode=0&source=1&chinaSour=0 from localhost:8080 to http://12.12.1.19:8114/ (ECONNREFUSED) (https://nodejs.org/api/errors.html#errors_common_system_errors)

 全局搜索报错信息  Error occurred while trying to proxy request

 结果:

./node_modules/http-proxy-middleware/lib/index.js:
'[HPM] Error occurred while trying to proxy request %s from %s to %s (%s) (%s)'

查看 ./node_modules/http-proxy-middleware/lib/index.js

  function logError(err, req, res) {
    var hostname =
      (req.headers && req.headers.host) || (req.hostname || req.host) // (websocket) || (node0.10 || node 4/5)
    var target = proxyOptions.target.host || proxyOptions.target
    var errorMessage =
      '[HPM] Error occurred while trying to proxy request %s from %s to %s (%s) (%s)'
    var errReference =
      'https://nodejs.org/api/errors.html#errors_common_system_errors' // link to Node Common Systems Errors page

    logger.error(
      errorMessage,
      req.url,
      hostname,
      target,
      err.code || err,
      errReference
    )
  }

 后台打印EROOR

Error: connect ECONNREFUSED 13.250.168.23:443
    at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1141:16) {
  errno: -61,
  code: 'ECONNREFUSED',
  syscall: 'connect',
  address: '13.250.168.23',
  port: 443
}

connect ECONNREFUSED 13.250.168.23:443
连接被拒绝了
查找很多关于 connect ECONNREFUSED 13.250.168.23:443 的报错解决办法搜到下面一句话
 

 这是个网络问题,重新加载一下啦

你可能感兴趣的:(vue.js,html5,javascript)