DevrexLabs / OrigoDB

In-memory event-sourced database engine for NET/Mono
http://origodb.com
MIT License
137 stars 34 forks source link

Windows Service port issue #23

Open idontbyte opened 9 years ago

idontbyte commented 9 years ago

Using Windows 10 operating system. OrigoDB version 0.2. No modified configuration files, extracted to hard disk and ran Windows Service install batch file.

Windows batch file created new app config file in the following folder: C:\Windows\scripts

The contents:

<configuration>
    <appSettings>
        <add key="AdminHost" value="127.0.0.1" />
        <add key="AdminPort" value="8080" />
    </appSettings>
</configuration>

Therefore the Windows Service bound on the port 8080 and not 8088 as specified in the original config file.

rofr commented 9 years ago

I understand you created a new app.config file? That won't work, you need to alter the origo.config file in the scripts subdirectory. You can choose an alternate config file by editing set-env.cmd

Can you try again and confirm that it's working?

I suppose the documentation could be a bit more clear on which file contains the config as this it doesn't follow the normal and well known convention of app.config