인프런 영문 브랜드 로고
인프런 영문 브랜드 로고

인프런 커뮤니티 질문&답변

Jun님의 프로필 이미지
Jun

작성한 질문수

따라하며 배우는 노드, 리액트 시리즈 - 쇼핑몰 사이트 만들기[전체 리뉴얼]

로그인 시 504 cors문제

작성

·

412

·

수정됨

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...

답변

답변을 기다리고 있는 질문이에요
첫번째 답변을 남겨보세요!
Jun님의 프로필 이미지
Jun

작성한 질문수

질문하기