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?

Open localhost:5173

What Uses Port 5173?

FrameworkCommand
Vite + Reactnpm create vite@latest -- --template react
Vite + Vuenpm create vite@latest -- --template vue
Vite + Sveltenpm create vite@latest -- --template svelte
SvelteKitnpm create svelte@latest
Astronpm 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

FeatureVite (5173)CRA (3000)
Cold start~300ms~30 seconds
Hot reloadInstant1-3 seconds
Build toolesbuild + RollupWebpack
Configvite.config.jsEject required

Can't Connect?

ProblemSolution
Port already in useVite auto-increments to 5174, 5175...
Network access blockedAdd host: true to config
HMR not workingCheck WebSocket connection in DevTools

Related Ports

PortCommon Use
3000Create React App, Next.js
4200Angular CLI
8080Vue CLI (legacy)
5000Flask, .NET