amazon-web-services - Error: connect ECONNREFUSED after EC2 reboot
问题描述
I have a memsql server running on AWS and decided to upgrade the instance type for better performance. In order to upgrade an EC2 server though you must first shut it down, then perform the upgrade and then start it up again.
My server was working absolutely fine when I was connecting to it from my Node API but since the reboot/ instance upgrade I am getting the following message:
Error: connect ECONNREFUSED
I have not changed any of the connection configuration in my node API and I am able to SSH into the memsql server using the same IP address as I had before the instance upgrade.
Is there anything funny that AWS EC2 may do when you reboot such as changing ports for example that would cause me to get this error?
Am really stuck so not sure where to begin
解决方案
推荐阅读
- apache-zookeeper - Clickhouse-copier DB::Exception: 未找到请求的集群“xxx”
- excel - 将基于可变结尾字符的分隔列表拆分为特定列
- javascript - 多维数组的意外 indexOf 行为
- automation - 如何从每日备份中自动恢复 Heroku Postgres 临时数据库?
- python - 在 Django 中制作所见即所得的表单字段
- c++ - 返回一个 const std::string 真的比非 const 慢吗?
- python - 如何利用 groupby,只对某些行执行计算并保留所有列
- php - 是否可以在php中的索引数组中转换关联数组?
- angular - 为什么 *ngFor 不需要括号?
- python - Python每x分钟调用一次函数