localhost:9229: what runs on it and how to open it
Port 9229 is the Node.js debugger port. How to connect Chrome or VS Code and stay safe.
Not a web pagePort 9229 is the Node.js debugger. Use Chrome DevTools or VS Code, not a normal browser tab.
localhost:9229 is the Node.js debugger, not a web page. You start it with --inspect, then connect Chrome DevTools or Visual Studio Code to it.
What runs on localhost:9229
- Node.js started with
--inspector--inspect-brk
Commands to start and test port 9229
node --inspect app.jsnode --inspect-brk app.jscurl http://localhost:9229/jsonFind what is using port 9229
Run these in a terminal on your computer. Nothing is sent to this site.
If localhost:9229 will not open
- The browser shows nothing useful
- Port 9229 is for debugger tools. In Chrome open chrome://inspect and choose your Node process.
- ECONNREFUSED on port 9229
- Node was not started with --inspect, or it has already stopped.
- Port 9229 is already in use
- Another program is on port 9229. Find it with the tool below and stop it, or start yours on another port.
Other ports like 9229
| Port | Usually used by |
|---|---|
| localhost:11434 | Ollama (AI models) |
| localhost:5601 | Kibana |
| localhost:11501 | Not a standard port: check what is using it |
| localhost:9200 | Elasticsearch |
| localhost:5672 | RabbitMQ |
| localhost:15672 | RabbitMQ admin page |
| localhost:9090 | Prometheus |
Questions about localhost:9229
- How do I debug Node.js in Chrome?
- Start with node --inspect app.js, open chrome://inspect in Chrome, and click inspect under your process.
- Is localhost:9229 safe?
- Only while it stays on localhost. Anyone who can reach the debugger port can run code on your computer, so never expose port 9229 to a network or the internet.
- Can I use a different port instead of 9229?
- 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:9230.
- How do I check what is using port 9229?
- Use the port checker on this page. It shows the command for Windows, macOS and Linux and does not send anything to this site.
Free tools that help
- Common ports listSearch a list of common TCP and UDP port numbers: SSH 22, HTTP 80, HTTPS 443, MySQL 3306, PostgreSQL 5432 and more, with dev server ports.