Time for action – shutting down RavenDB

We assume that RavenDB is running in the Console mode, otherwise, please refer to the previous sections to launch the RavenDB server in the Console mode.

In the command prompt window, enter the q command and press Enter to shutdown the RavenDB server. This will also close the command prompt window.

What just happened?

In this one step, we learned how to shutdown the RavenDB server using the q command in the command prompt window.

When Raven.Server.exe is launched with the –browser parameter, it will automatically open the Management Studio in the web browser. But when the RavenDB instance is shutdown, it will not close the Management Studio and it should be closed manually.

Have a go hero – connecting to a RavenDB server on a networked computer

Suppose your computer is connected to a local area network. There is another computer in the network where RavenDB was installed and is currently running on the IP address 192.168.1.26 and listening on port 8080. You can access the Management Studio from your computer simply by typing the complete URL in your web browser that points to the Management Studio, providing the IP address, and the listening port where RavenDB is running. The URL should look like: http://192.168.1.26:8080/raven/studio.html.

Tip

Downloading the example code:

You can download the example code files for all Packt books you have purchased from your

account at http://www.packtpub.com . If you purchased this book elsewhere, you can visit http://www.packtpub.com/support and register to have the files e-mailed directly to you.