Home / Localhost / localhost:6006

localhost:6006: what runs on it and how to open it

Port 6006 is the default for Storybook. How to open it and fix errors.

localhost:6006 in a browser address bar reaches port 6006 on your computer, where Storybook is running

Open this address: http://localhost:6006This opens on your own computer. It only works if the program is running.

localhost:6006 is where Storybook shows your UI components. It runs while the Storybook command stays open in a terminal.

What runs on localhost:6006

Commands to start and test port 6006

Start Storybook
npm run storybook
Another port
npx storybook dev -p 6007

Find what is using port 6006

Run these in a terminal on your computer. Nothing is sent to this site.

If localhost:6006 will not open

Port 6006 is not available
Storybook usually offers to use another port. Accept it, or find what uses 6006 with the tool below.
The page is blank
Check the terminal for build errors. A failed build leaves an empty page.
This site can’t be reached (ERR_CONNECTION_REFUSED)
The server is not running. Start it and keep that terminal open. See the full checklist.
Works on your computer, not on your phone
Start the server on all network addresses and use your computer’s IP address. See how to open localhost from your phone.

Other ports like 6006

PortUsually used by
localhost:3000React, Next.js, Express
localhost:5173Vite dev server
localhost:4200Angular dev server
localhost:5000Flask
localhost:8000Django, PHP, Python
localhost:8080Tomcat, Spring Boot, Docker
localhost:8888Jupyter Notebook

Questions about localhost:6006

What runs on localhost:6006?
Storybook, the tool for building and testing UI components on their own.
How do I change the Storybook port?
Run npx storybook dev -p 6007, or set the port in the storybook script in package.json.
Is localhost:6006 safe?
Yes, as long as it stays on localhost. Only your own computer can reach localhost:6006. It becomes reachable from other devices only if you start the program on 0.0.0.0 or your computer's IP address. Development servers are for testing, so do not put them on the public internet.
Can I use a different port instead of 6006?
Yes. Most programs let you choose the port with a setting or a command option. Pick a free port above 1024 and open that number instead, for example localhost:6007.
How do I check what is using port 6006?
Use the port checker on this page. It shows the command for Windows, macOS and Linux and does not send anything to this site.
Can I open localhost:6006 from my phone?
Yes, if both are on the same Wi-Fi. Start the program so it listens on all addresses, then open your computer's IP address with :6006 on the phone. A firewall on the computer can still block it.

Updated 2026-10-11

Free tools that help

Related pages