Cannot create Development View


When trying to create a development view from the Couchbase Server UI the Save operation fails. The UI gives no indication of the failure, but looking at the network traffic I see two failed HTTP requests:

In both cases the response status is 400 and the the body is

<META HTTP-EQUIV="Content-Type" Content="text/html; charset=us-ascii"></HEAD>
<BODY><h2>Bad Request - Invalid Hostname</h2>
<hr><p>HTTP Error 400. The request hostname is invalid.</p>

I’m running 4.5.0-2601 Enterprise Edition (build-2601) on Windows 7.

Because there was another process on my PC using port 8092 I had to change the port configuration in capi.ini as described in the Network Configuration documentation. I deleted the config.dat file and restarted the server after making that change.

I have also changed the file path used for storing data, fearing it was a file permission issue. That had no effect.