Localhost ports and connection troubleshooting

Find the service behind a local address, check why it will not connect, and follow the setup guide for your stack. Localhost refers to the device making the request; start the service on that device before opening its URL.


Start with your problem

Already running a web server on this computer? Open your local homepage: http://localhost

Common ports: see what each one is used for

:80 · :5173 · :4173 · :4321 · :8080

Your public IP address

Loading…

Reported by ipify. This is your public network address, not the local port or LAN address of your development server.

Modern Dev Environments & Tools

Docker, Vite, reverse proxies, backends, and databases on localhost.


Beyond classic XAMPP/WAMP bundles, most teams today use Docker for services, Vite for frontend dev servers, and dedicated runtimes for APIs and databases — all reachable on localhost.
Default ports you will see often: 5173 (Vite), 3000 (NestJS/Next.js), 8000 (Laravel/Django), 5432 (PostgreSQL), 6379 (Redis).
See our port reference and conflict guides if something fails to start.

Popular dev stacks & tools:

Web Servers


A web server is software that uses HTTP (Hypertext Transfer Protocol) to respond to client requests and deliver web pages. It can also refer to the computer or device running that software.
Web servers present website content to the user's browser. Every site on the internet has a unique IP address. Apache is one of the most common web servers (open source, large market share); Microsoft IIS is another popular choice.

Most popular web servers:

Which web servers do you think are the most popular? If you have recommendations not listed here, contact us to submit them later.

Web Server Stacks

These software bundles are used to run dynamic websites or servers.


In computing, a solution stack (or software stack) is a set of software subsystems or components needed to build a complete platform so applications can run without extra software.
A web stack is the collection of software used to build websites, typically including an operating system, programming language, database, and web server.
A classic example is the LAMP stack: Linux (OS), Apache (HTTP server), MySQL (database), and PHP (server-side language).

Classic local development bundles:

Modern Frontend Stacks

Run Node.js dev servers on localhost to preview SPAs, SSR, and full-stack apps.


Modern frontend development rarely relies on traditional LAMP/WAMP bundles alone. Developers run Node.js dev servers locally to preview single-page apps, SSR sites, or full-stack frameworks.
These stacks cover build tools (Vite), meta-frameworks (Next.js, Astro), routing (React Router), microfrontends, and more — all quick to start on localhost.
Default dev URLs are often http://localhost:3000 or http://localhost:5173; see each framework's docs for details.

Common frontend & full-stack frameworks:

Other suggested localhost ports

Common localhost ports (click the note to open the port guide):


Localhost ports: 80, 4173, 4321, 5173… · Port conflict troubleshooting · Localhost URL parser

Developer Tools

Browser-based JSON, text, image, PDF utilities — no install required.


LocalHost Run online toolbox covering encoding, formatting, image processing, and more — all runs in the browser.

LocalHost Run tools

Featured toolbox apps

Open toolbox

Browse possible folders or projects

Local development guides & tools © LocalHost Run