Localhost ports: what runs on each port and how to fix it

Every local dev server listens on a port: React and Next.js on localhost:3000, Vite on 5173, Angular on 4200, Jupyter on 8888. Pick a port to see what runs there, how to fix it and how to share it.

What each page covers

Each page says what usually runs on that port, how to start it, how to find and free the port when something else is holding it, and how to open it from another device. The last section covers sharing it with anyone on the internet over an HTTPS URL.

localhost always means this machine: it resolves to the loopback address 127.0.0.1 (or ::1 on IPv6), and nothing outside your computer can reach it until you forward or tunnel the port.