• 카테고리

    질문 & 답변
  • 세부 분야

    프론트엔드

  • 해결 여부

    미해결

백엔드 서버는 3085번 포트이네요?

20.11.06 15:59 작성 조회수 349

0

백엔드 서버는 3085번 포트이네요?

근데 강의에서는 프론트에서 3000번 포트에 그냥 post요청을 보내는 것이 아닌가요??

헤더에 아래와 같이 뜨면서 가져오질 못합니다..

post요청이 3085번 포트로 가야하는게 아닌가요??

git 주소 https://github.com/windsdeath/vuenodebird

Request URL: http://localhost:3000/user

Request Method: POST

Status Code: 404 Not Found

Remote Address: 127.0.0.1:3000

Referrer Policy: strict-origin-when-cross-origin

Accept-Ranges: none

Connection: keep-alive

Content-Length: 664888

Content-Type: text/html; charset=utf-8

Date: Fri, 06 Nov 2020 06:42:11 GMT

Accept: application/json, text/plain, */*

Accept-Encoding: gzip, deflate, br

Accept-Language: ko-KR,ko;q=0.9,en-US;q=0.8,en;q=0.7,ja;q=0.6

Connection: keep-alive

Content-Length: 46

Content-Type: application/json;charset=UTF-8

Host: localhost:3000

Origin: http://localhost:3000

Referer: http://localhost:3000/signup

Sec-Fetch-Dest: empty

Sec-Fetch-Mode: cors

Sec-Fetch-Site: same-origin

User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/86.0.4240.111 Safari/537.36

{email: "78", password: "78", nickname: "78"}

email: "78"

nickname: "78"

password: "78"

답변 2

·

답변을 작성해보세요.

0

백엔드 서버는 3085입니다. 3085로 보내셔야 합니다. 강좌 뒷부분에서 axios 주소 수정합니다.

0

deep Ring님의 프로필

deep Ring

질문자

2020.11.06

아 참고로 백엔드서버 프론트 서버 둘다 npm run dev로 두 터미널에서 실행중입니다.