A few folks have asked how to change the port of which RavenDB is listening (defaults to 8080). It’s easily changed by editing a config file. Below are the steps if you’re running Raven as a Windows service.
- Launch Services and stop the RavenDB service.
- Locate the “Raven.Server.exe.config” file from your install directory of RavenDB. (mine was in f:\ravendb\)
- Open this config file and change this line: <add key=”Raven/Port” value=”8080″/> to whatever available port you’d like (I did 8082)
- Save the config file.
- Start the service back up.
RavenDB should now be listening on your new port. You can test by going to http://localhost:8082 (or whatever hostname you’re using).