[HPM] Error occurred while trying to proxy request /account/login/ from localhost:3000 to http://127.0.0.1:8000(ECONNREFUSED)(https://nodejs.org/api/errors.html#errors_common_system_errors)

这个问题主要是从端口3000映射到8000端口失败

首先查看npm错误日志,通过查看日志,参考文档

https://segmentfault.com/q/1010000041491241

缺少nvm依赖包,安装好依赖包之后重新启动 api 开发环境服务python manage.py runserver

发现代码报错,原因是centos自带的python环境是2.X版本的,而我部署的项目环境要求是3.X版本,于是就是更新python版本

升级后,yum报错,因为yum依赖于python2.X版本,修改配置文件usr/bin/yum 将python改成python2.7

使用python3启动api服务

但是127.0.0.1:3000映射到8000端口还是失败了

解决方法
查看防火墙规则iptables -nL
清空默认表Filter的所有规则iptables -F


之后就可以正常启动了,仅供参考

[HPM] Error occurred while trying to proxy request /account/login/ from localhost:3000 to http://127相关推荐

  1. [HPM] Error occurred while trying to proxy request /login/account from localhost:8000 to localhost:8

    [HPM] Error occurred while trying to proxy request /login/account from localhost:8000 to localhost:8 ...

  2. [HPM] Error occurred while trying to proxy request

    突然出现的报错: [HPM] Error occurred while trying to proxy request /api/noauth/oauth2Clients from localhost ...

  3. npm 报错:`[HPM] Error occurred while trying to proxy request (ECONNREFUSED)`

    npm 报错:[HPM] Error occurred while trying to proxy request /users from localhost:8000 to https://loca ...

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

    后台报错信息: [HPM] Error occurred while trying to proxy request /aws/compreElement?type=prec&element= ...

  5. 解决 [HPM] Error occurred while trying to proxy request

    之前vue运行访问接口本来没有问题的,今天突然访问老是出现这个问题,常见情况有以下情况,比如: 1.网络不稳定的原因(我就是这种),气气!!!. 2.代理的接口写错, 3.端口被占用 4.后台服务地址 ...

  6. Error occurred while trying to proxy request

    Error occurred while trying to proxy request /api/v1/ProveApplys/GetApplyTypes from 127.0.0.1:8010 t ...

  7. Error occurred while trying to proxy request项目突然起不来了

    1. 如果你是之前还能项目能正常运行,突然启不来了,或者别人启起来,你启不来,请尝试以下办法 (1)npm版本过低 步骤一:查看npm版本:npm -v 步骤二:更新到最新版本:npm -g inst ...

  8. vue 设置代理报错;occurred while trying to proxy request xxx

    报错: [HPM] Error occurred while trying to proxy request /oauth/validate from localhost:8080 to localh ...

  9. Vue-Proxy error: Could not proxy request xxx/xxx from localhost:9528 to http://ip:port

    问题 vue项目启动后登录报如下错误: App running at:- Local: http://localhost:9528/ - Network: http://192.168.100.26: ...

最新文章

  1. 11 为了进一步_小米11正式官宣!12月28号整装待发,这几点或成关键
  2. 云炬WEB开发笔记2-7 代理神器CharlesFiddler
  3. 计算机四年级下册教案泰山版,泰山版信息技术四年级下册4、制作作息时间表教案设计...
  4. 阻止中文输入法输入拼音的时候触发input事件
  5. 第五十四期:MongoDB与MySQL:如何选择
  6. 试试把OJ题意抽象成物理模型(洛谷P1007题题解,Java语言描述)
  7. 前沿 | 使用Transformers进行端到端目标识别
  8. html基础开发-jQuery框架基础语法攻略(攻略一)
  9. 索尼Xperia 5 II官方高清渲染图曝光:还是那个熟悉的小屏旗舰
  10. Kubernetes资源分配(limit/request)
  11. linux 重新安装内核,升级操作系统内核(不重新安装UltraPath)
  12. 容易被忽略的注解,你能了解多少?
  13. 筹备两年,60万字诚意续作《腾讯游戏开发精粹Ⅱ》正式发布
  14. 本地上支持apache多站点访问
  15. Win10校园网锐捷客户端犯病 可能有用的2个措施
  16. Percona XtraBackup User Manual
  17. gcc -fomit-frame-pointer选项,-fno-dwarf2-cfi-asm 选项
  18. 良心推荐:12个免费学习网站,赶紧收藏
  19. HTML3D立体城市特效代码
  20. linux,Windows11双系统安装及开机引导

热门文章

  1. xjzk查询录取成绩2021高考,新疆招生网:2021年新疆高考查分入口、查分系统
  2. 公交车查询系统(20070719更新)
  3. OPPO R8207解账户锁刷机包 线刷救砖解锁教程
  4. python3 爬虫实战之爬取网易新闻APP端
  5. jupyter安装扩展插件
  6. Python复数类型(complex)
  7. GitHub标星75k,阿里15W字的Spring高级文档(全彩版),真的太香了
  8. Android程序异常崩溃后重启
  9. 基于vivado下pcie dma封装的pcie接口程序
  10. 实验10-9 十进制转换二进制