Home / Localhost / localhost:1313

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

Port 1313 is the default for the Hugo development server. How to open it and fix errors.

localhost:1313 in a browser address bar reaches port 1313 on your computer, where Hugo dev server is running

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

localhost:1313 is the default address of the Hugo development server. It rebuilds your site when you save a file and runs while hugo server stays open in a terminal.

What runs on localhost:1313

Commands to start and test port 1313

Start Hugo
hugo server
Include draft pages
hugo server -D
Another port
hugo server --port 1314

Find what is using port 1313

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

If localhost:1313 will not open

Unable to locate config file or config directory
You ran Hugo outside your site folder. Open the folder that has hugo.toml and run it again.
My new page does not show
Pages marked draft: true are hidden. Start with hugo server -D to see them.
Port 1313 is already in use
Another program is on port 1313. Find it with the tool below and stop it, or start yours on another port.
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.

Other ports like 1313

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:1313

What runs on localhost:1313?
The Hugo development server.
Why is a page missing on localhost:1313?
Check whether it is a draft, has a future date, or has an expiry date. Hugo hides those by default.
Is localhost:1313 safe?
Yes, as long as it stays on localhost. Only your own computer can reach localhost:1313. 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 1313?
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:1314.
How do I check what is using port 1313?
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:1313 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 :1313 on the phone. A firewall on the computer can still block it.

Updated 2026-10-11

Free tools that help

Related pages