RavenDB在8080以外的端口上

Tra*_*ram 1 nservicebus ravendb

我们尝试通过以下命令安装NServiceBus 4.2.0.0和RavenDB: -

    nserviceBus.host.exe -install serviceName="xxxx.Server" -displayname="xxxx.Server" -username="domainName\serviceAccountName" -password="serviceAccountPassword"
Run Code Online (Sandbox Code Playgroud)

NServiceBus似乎安装但RavenDB安装失败 - 注意我们正在尝试在8080以外的端口下安装 - 因此我们放置了这条线: -

    <add name="NServiceBus/Persistence" connectionString="Url = http://localhost:9090" />
Run Code Online (Sandbox Code Playgroud)

...在我们的配置中

我们收到的错误信息是: -

    [1] WARN  NServiceBus.ConfigureRavenPersistence [(null)] <(null)> - Raven could not be contacted. We tried to access Raven using the following url: http://localhost:9090.
Run Code Online (Sandbox Code Playgroud)

如果我离开默认端口(8080),一切都安装正确,但我需要更改端口,因为8080已经在使用

有没有人有任何想法?

Joh*_*ons 5

RavenDB安装与NServiceBus主机安装是分开的.

要安装RavenDB,请按照RavenDB网站上的说明进行操作,也可以使用NServiceBus Powershell cmdlet安装Raven服务器,有关如何加载的信息,请参阅http://docs.particular.net/nservicebus/managing-nservicebus-using-powershell.的cmdlet.
如果选择使用cmdlet,则需要执行Install-NServiceBusRavenDB -Port 9090