MongoDB
Id: hip
pw: server123
DB URI
mongodb+srv://hipxercise:<password>@cluster0.zrut1.mongodb.net/test
AWS 퍼블릭 IPv4
퍼블릭 IPv4: 54.180.153.139
퍼블릭 IPv4 DNS: ec2-54-180-153-139.ap-northeast-2.compute.amazonaws.com
.env
# JSON web token (JWT) secret: this keeps our app's user authentication secure
# This secret should be a random 20-ish character string
JWT_SECRET ='p4sta.w1th-b0logn3s3-s@uce'
JWT_ALGO='RS256'
# Mongo DB
# Local development
MONGODB_URI=mongodb+srv://hipxercise:server123@cluster0.zrut1.mongodb.net/hipxercise
# Port
PORT=5000
# Debug
LOG_LEVEL='debug'
Base_URL
3000 포트 뚫었음
<http://54.180.153.139:3000>
포트번호 죽이기
lsof -i :포트번호
kill -9 PID