Connection
The preview is two servers that curvenote start runs together: a content server, which builds your project and watches for changes, and the preview at http://localhost:3000, which draws it as a site. The plug on the Curvenote bar shows whether the preview can still reach the content server.
| Plug | Means |
|---|---|
| Plain (green when you point at it) | Connected: pages reload and logs arrive as you edit. |
| Amber, pulsing | Connecting, as the page opens. |
| Red, unplugged | No connection: the content server isn’t answering. |
Connection details¶
Select the plug to see what you are looking at.

Figure 1:The connection details for a project in ~/tidepool-lab, on the main branch.
Last checked and Last log: when the preview last heard from the content server.
Content: the content server’s address, and its version.
Preview: this page’s address, with the versions of the preview theme and the Curvenote CLI.
Running: how long
curvenote starthas been running.Project, Folder and Git: the project being served, the folder it’s in, and its branch, commit and repository. With several projects or branches open, this is how to tell them apart.
Site and API: the Curvenote site the preview uses, and where it looks sites up.
The ↻ button checks the connection now.
When the connection is lost¶

Figure 2:curvenote start has stopped: the plug is red.
The preview keeps trying every second, so once the content server is back the plug turns plain again and the page catches up. If it stays red:
Look at the terminal where you ran
curvenote start. If it stopped, start it again.If it’s running, check that the address you have open is the one it printed. It prints a new link each time it starts; open that one.
If another program is using the ports, start it on others:
curvenote start --port 3001 --server-port 3101.
- API
- Application Programming Interface
- CLI
- Command Line Interface