localhost:5173
See 5173 and wondering why not 3000? You're using Vite — the blazing fast build tool that's replacing Create React App and Vue CLI. Vite chose 5173 because it spells "SITE" on a phone keypad (5-1-7-3). Clever, right?
What Uses Port 5173?
| Framework | Command |
| Vite + React | npm create vite@latest -- --template react |
| Vite + Vue | npm create vite@latest -- --template vue |
| Vite + Svelte | npm create vite@latest -- --template svelte |
| SvelteKit | npm create svelte@latest |
| Astro | npm create astro@latest |
Quick Start
# Create Vite + React project
npm create vite@latest my-app -- --template react
cd my-app
npm install
npm run dev
# Output:
# VITE v5.x ready in 300ms
# ➜ Local: http://localhost:5173/
Change Vite Port
// vite.config.js
export default {
server: {
port: 3000, // Change port
open: true, // Auto-open browser
host: true // Expose to network
}
}
Or use command line:
npm run dev -- --port 3000
Vite vs Create React App
| Feature | Vite (5173) | CRA (3000) |
| Cold start | ~300ms | ~30 seconds |
| Hot reload | Instant | 1-3 seconds |
| Build tool | esbuild + Rollup | Webpack |
| Config | vite.config.js | Eject required |
Can't Connect?
| Problem | Solution |
| Port already in use | Vite auto-increments to 5174, 5175... |
| Network access blocked | Add host: true to config |
| HMR not working | Check WebSocket connection in DevTools |
Related Ports
| Port | Common Use |
| 3000 | Create React App, Next.js |
| 4200 | Angular CLI |
| 8080 | Vue CLI (legacy) |
| 5000 | Flask, .NET |