Skip to content

Context7 Platform -- Up-to-date docs for AI agents

CTX7-2943: Document port 3000 default for docs7 dev (#3250)

Enes Gules1d8b25a9e723
diff --git a/docs/docs7/cli.mdx b/docs/docs7/cli.mdx
index ad1e2b8b..8f818efe 100644
--- a/docs/docs7/cli.mdx
+++ b/docs/docs7/cli.mdx
@@ -50,7 +50,7 @@ docs7 dev
docs7 dev ./docs --port 4000
```
-The default address is `http://localhost:3333`. The first run downloads the renderer and caches it. The server reloads pages when you edit files. Use `--host` to change the bind address. Local previews do not require login.
+The default address is `http://localhost:3000`. If that port is in use, the server uses the next free port and prints the address. If you set `--port` and the port is in use, the command stops. The first run downloads the renderer and caches it. The server reloads pages when you edit files. Use `--host` to change the bind address. Local previews do not require login.
<Warning>
A local preview executes MDX with your local user permissions. Only preview documentation sources
diff --git a/docs/docs7/migrate-from-mintlify.mdx b/docs/docs7/migrate-from-mintlify.mdx
index 7c24f9ee..5d5d6aa7 100644
--- a/docs/docs7/migrate-from-mintlify.mdx
+++ b/docs/docs7/migrate-from-mintlify.mdx
@@ -14,7 +14,7 @@ npm install -g @upstash/docs7
docs7 dev
```
-Open [http://localhost:3333](http://localhost:3333) to see your documentation site.
+Open [http://localhost:3000](http://localhost:3000), or the address that the command prints, to see your documentation site.
## 2. Connect the repository
diff --git a/docs/docs7/quickstart.mdx b/docs/docs7/quickstart.mdx
index c17886dd..e7ba011f 100644
--- a/docs/docs7/quickstart.mdx
+++ b/docs/docs7/quickstart.mdx
@@ -60,7 +60,7 @@ Run this from the folder that contains `docs.json`:
docs7 dev
```
-Open [http://localhost:3333](http://localhost:3333). The page reloads when you edit a file.
+Open [http://localhost:3000](http://localhost:3000), or the address that the command prints. The page reloads when you edit a file.
The first run downloads the renderer and caches it for later. You can also pass a project folder or use another port: