@@ -28,7 +28,7 @@ http://localhost:3000/healthcheck
进入 server 看 log
```shell
-ssh -i de-net.pem ubuntu@34.207.131.244
+sudo ssh -i ~/.ssh/de-net.pem ubuntu@34.207.131.244
sudo su root
@@ -26,7 +26,7 @@ if (process.env.NODE_ENV == 'test') {
opts = {
port: port,
host: host,
- // password: password
+ // password: passwordd
}
// var new_opts = "redis://"+password+"@"+host+":"+port+"/0"
// "redis://:authpassword@127.0.0.1:6380/4"
@@ -84,7 +84,7 @@ async function readRedis(key) {
console.log("redis_get=", result); // Prints "value"
resolve(result);
}).catch(e => {
- console.log("readRedis key error=", key, e); // Prints "value"
+ console.log("readRedis key error=", key, e); // Prints "error"
});
})