프론트 서버 접속 오류
459
15 asked
프론트 서버 ip입력하고 접속해보면 맨 아래 사진처럼 접속 오류가 떠서 확인해보니까 포트가 3000번에만 있는 것 같아요
이를 해결하려면 어떻게 해줘야되나요?
package.json에는 "start": "cross-env NODE_ENV=production react-scripts start"로 되어있고
빌드는 모두 마쳤습니다. 백엔드 서버는 켜져있습니다


Answer 4
0
강좌보면서 certbot-auto 설치 중에 문제가 생겼는데 nginx가 80포트 잡은거 확인한 뒤에
./certbot-auto을 입력하면 아래와 같은 메시지가 뜹니다 (우분투 20.04)
저번부터 certbot-auto가 진짜 제대로 엿 멕이네요ㅜㅜ
프론트 백 둘 다 이 모양입니다
Bootstrapping dependencies for Debian-based OSes... (you can skip this with --no-bootstrap)
Hit:1 http://ap-northeast-2.ec2.archive.ubuntu.com/ubuntu focal InRelease
Get:2 http://ap-northeast-2.ec2.archive.ubuntu.com/ubuntu focal-updates InRelease [111 kB]
Get:3 http://ap-northeast-2.ec2.archive.ubuntu.com/ubuntu focal-backports InRelease [98.3 kB]
Hit:4 http://repo.mysql.com/apt/ubuntu bionic InRelease
Get:5 http://ap-northeast-2.ec2.archive.ubuntu.com/ubuntu focal-updates/main amd64 Packages [655 kB]
Get:6 http://ap-northeast-2.ec2.archive.ubuntu.com/ubuntu focal-updates/universe
amd64 Packages [689 kB]
Get:7 http://security.ubuntu.com/ubuntu focal-security InRelease [107 kB]
Hit:8 https://deb.nodesource.com/node_14.x focal InRelease
Fetched 1661 kB in 1s (1172 kB/s)
Reading package lists... Done
Reading package lists... Done
Building dependency tree
Reading state information... Done
Note, selecting 'python-is-python2' instead of 'python'
Note, selecting 'python-dev-is-python2' instead of 'python-dev'
Package python-virtualenv is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package 'python-virtualenv' has no installation candidate
0
앞단에 nginx를 두어 reverse proxy를 설정하시거나(배포 강좌에 있습니다) react-scripts의 포트를 80번으로 바꾸시면 됩니다. start 명령어에 PORT=80 추가하면 됩니다.
넥스트 버젼 질문
0
77
2
로그인시 401 Unauthorized 오류가 뜹니다
0
88
1
무한 스크롤 중 스크롤 튐 현상
0
174
1
특정 페이지 접근을 막고 싶을 때
0
103
2
createGlobalStyle의 위치와 영향범위
0
95
2
인라인 스타일 리렌더링 관련
0
90
2
vsc 에서 npm init 설치시 오류
0
146
2
nextjs 15버전 사용 가능할까요?
0
158
1
화면 새로고침 문의
0
121
1
RTK에서 draft, state 차이가 있나요?
0
153
2
Next 14 사용해도 될까요?
0
452
1
next, node 버전 / 폴더 구조 질문 드립니다.
0
349
1
url 오류 질문있습니다
0
211
1
ssh xxxxx로 우분투에 들어가려니까 port 22: Connection timed out
0
372
1
sudo certbot --nginx 에러
0
1271
2
Minified React error 콘솔에러 (hydrate)
0
469
1
카카오 공유했을 때 이전에 작성했던 글이 나오는 버그
0
246
1
프론트서버 배포 후 EADDRINUSE에러 발생
0
325
1
npm run build 에러
0
518
1
front 서버 npm run build 중에 발생한 에러들
0
381
1
서버 실행하고 브라우저로 들어갔을때 404에러
0
337
2
css 서버사이드 랜더링이 적용되지 않아서 문의 드립니다.
0
286
1
팔로워 3명씩 불러오고 데이터 합쳐주는걸로 바꾸고 서버요청을 무한으로하고있습니다.
0
237
2
해시태그 검색에서 throttle에 관해 질문있습니다.
0
201
1

