• 카테고리

    질문 & 답변
  • 세부 분야

    풀스택

  • 해결 여부

    미해결

로그인 시 504 cors문제

22.12.09 08:11 작성 22.12.09 08:14 수정 조회수 297

0

 

로그인 중에 504 gateway 문제가 register화면에서 떠서 회원가입이 안되요

 

[HPM] Error occurred while trying to proxy request /api/users/register from localhost:3000 to http://localhost

:5000 (ECONNREFUSED) (https://nodejs.org/api/errors.html#errors_common_system_errors)

[HPM] Error occurred while trying to proxy request /api/users/register from localhost:3000 to http://localhost

:5000 (ECONNREFUSED) (https://nodejs.org/api/errors.html#errors_common_system_errors)

[HPM] Error occurred while trying to proxy request /api/users/register from localhost:3000 to http://localhost

:5000 (ECONNREFUSED) (https://nodejs.org/api/errors.html#errors_common_system_errors)

[HPM] Error occurred while trying to proxy request /api/users/register from localhost:3000 to http://localhost

:5000 (ECONNREFUSED) (https://nodejs.org/api/errors.html#errors_common_system_errors)

 

 

위에껀 클라이언트 콘솔로그 입니다

 

 

아래껀 서버 콘솔로그 입니다

 

 

> react-boiler-plate@1.0.0 start

> node server/index.js

(node:19964) Warning: Accessing non-existent property 'count' of module exports inside circular dependency

(Use node --trace-warnings ... to show where the warning was created)

(node:19964) Warning: Accessing non-existent property 'findOne' of module exports inside circular dependency

(node:19964) Warning: Accessing non-existent property 'remove' of module exports inside circular dependency

(node:19964) Warning: Accessing non-existent property 'updateOne' of module exports inside circular dependency

Server Listening on 5000

MongoDB Connected...

답변 0

답변을 작성해보세요.

답변을 기다리고 있는 질문이에요.
첫번째 답변을 남겨보세요!