首页 > 解决方案 > 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

标签: amazon-web-servicesamazon-ec2singlestore

解决方案


推荐阅读