"[503] 서비스가 중지되었습니다" 에러 해결방법 알려주세요 .. 제발요 ..

cloudtype의 1개 프로젝트에 sqlite를 vscode를 이용해 db 1개의 서비스를 만들었습니다.

서비스이름은 ‘starbucks-server‘ 입니다.

node js 코드는 현재

const express = require("express");
const cors = require("cors");
const app = express();
const models = require('./models');

const port = 8080;
const jwt = require("jsonwebtoken");
const crypto = require("crypto");
const bcrypt = require('bcrypt');
const privateKey = crypto.randomBytes(32).toString('hex');

app.use(express.json());
app.use(cors({
    origin: ['https://starbucks-vercel.vercel.app','http://localhost:3000'],
    credentials: true
}))



이렇게 되어있는데 저희가 클라우드 타입을 이용해 올린 서버

https://port-0-starbucks-server-m68t82tub8d34ceb.sel4.cloudtype.app


위 서버에 접속하면 app.get 방식으로 만든 코드를 가져오지를 못 하고 503 에러가 뜹니다 제발 도와주세요 ㅜㅜ

Please authenticate to join the conversation.

Upvoters
Status

In Review

Board

💡 기능요청 Feature Request

Date

About 1 year ago

Author

deliondane

Subscribe to post

Get notified by email when there are changes.