All Localhost Ports

A complete guide to localhost ports used in web development. Find which port your framework, server, or database uses by default.

Most Popular Ports

Frontend Framework Ports

PortFramework / ToolLink
3000React, Next.js, Create React App, Express.jsGuide →
3001React (secondary), BrowserSyncGuide →
4200Angular CLIGuide →
5173Vite (Vue, React, Svelte)Guide →
8080Vue CLI, Webpack Dev ServerGuide →

Backend Framework Ports

PortFramework / ToolLink
3000Express.js, Node.js appsGuide →
4000Phoenix (Elixir), GraphQL serversGuide →
5000Flask (Python), ASP.NET CoreGuide →
8000Django, PHP built-in server, LaravelGuide →
9000PHP-FPM, SonarQubeGuide →

Web Server Ports

PortServer / ServiceLink
80HTTP (Apache, Nginx, XAMPP)Guide →
443HTTPS (SSL/TLS)Guide →
8080Tomcat, Jenkins, alternate HTTPGuide →
8888Jupyter NotebookGuide →
9090Prometheus, CockpitGuide →
4848GlassFish Admin ConsoleGuide →

Database Ports

Network Protocol Ports

PortProtocol / ServiceLink
21FTP (File Transfer Protocol)Guide →
22SSH, SFTP (Secure Shell)Guide →

Other Application Ports

PortApplicationLink
1745Custom applicationsGuide →
5774Custom applicationsGuide →
11501Custom applicationsGuide →

Understanding Localhost

127.0.0.1 (localhost) is your computer's loopback address. When you access localhost:3000, you're connecting to a server running on your own machine at port 3000.

Common Port Ranges

  • 0-1023: Well-known ports (HTTP, FTP, SSH)
  • 1024-49151: Registered ports (databases, dev servers)
  • 49152-65535: Dynamic/private ports

Port Already in Use?

If you get "port already in use" error, you can find what's using it:

  • Windows: netstat -ano | findstr :3000
  • Mac/Linux: lsof -i :3000