포트3000— Next.js / development HTTP
Next.js CLI의 기본 포트는 3000입니다. 다른 개발 서버도 사용할 수 있지만 Node.js와 React 자체가 공통 수신 포트를 정하지는 않습니다.
Registry assignments, software defaults and local listeners are different things. A port number alone does not identify or secure a service.
Configuration and troubleshooting
Next.js에서 next dev --port 3002 --hostname 127.0.0.1은 로컬 엔드포인트를 지정합니다. npm 스크립트를 사용할 때는 인수가 실제 명령에 전달되는지 확인하세요.
Important limitations
3002는 예시일 뿐 사용 가능한 포트임을 보장하지 않습니다. 개발 서버를 운영 서비스로 노출하지 마세요. 변경 후에는 콜백과 프록시 대상을 갱신하세요.
Read-only checks: run on the server host
Choose the commands for your OS. Check TCP and UDP separately. No result is not a lasting availability guarantee; inspect host and container separately.
Linux
sudo ss -ltnp 'sport = :3000'macOS
sudo lsof -nP -iTCP:3000 -sTCP:LISTENWindows PowerShell
Get-NetTCPConnection -LocalPort 3000 -State ListenSources and review
Sources checked on:
This review covers the explanations and sources on this page, not your device or every community software entry below.
이 포트를 사용하는 소프트웨어 (29 개 소프트웨어)
Community software entries: links are references, not individual verification.
Node.js Development Server
Node.js is a runtime; the application chooses its listening port.
React Development Server
A React application uses the development port configured by its build tool or framework.
사용 시 참고 사항
- 포트 3000 사용 전에 다른 서비스가 점유하고 있지 않은지 확인해 주세요
- 포트 충돌이 발생하면 다른 포트를 사용하거나 해당 포트를 점유한 서비스를 중지하는 것을 고려해 보세요
자주 묻는 질문
What is port 3000 used for?
Port 3000 sits in the Development category. This page lists the registered purpose and the software commonly associated with it; to see what is actually listening on a specific machine, check the process with ss/netstat.
Is port 3000 TCP or UDP?
The registered protocol on this page is TCP. The same number behaves independently on each protocol: TCP may be listening while UDP is idle, so check them separately.
How do I check if port 3000 is in use?
On Linux: sudo ss -tlnp 'sport = :3000' for an exact port match. On macOS: sudo lsof -nP -iTCP:3000 -sTCP:LISTEN. On Windows PowerShell: Get-NetTCPConnection -LocalPort 3000 -State Listen. A listener counts as confirmed only when you can see the bind address and process name; without root/admin you will not see other users' processes.
Is port 3000 secure? Should I open it in my firewall?
A port number has no inherent security — it depends on whether the listening service is correctly configured and whether it needs exposure at all. Keep loopback/internal-only services firewalled; where public access is required, pair it with source restrictions, VPN or authentication. The caution section on this page lists port-specific risks.
핵심 정보
- 포트
- 3000
- 프로토콜
- TCP
- 카테고리
- 개발
- 사용 현황
- 29 개 소프트웨어에서 사용