Start the Adapter as a Windows Service
The use of HTTPS protocol is strongly recommended to ensure a secure communication over public networks. Failing to use HTTPS increases the vulnerability to cyberattacks when using an open or badly secured network.
By default, the setting for the WebSocket port of the adapter is 8005.
If this port is already in use on the computer where the adapter is installed, or multiple SORIS adapters are installed on the same computer, adjust the configuration as follows:
1. Open the adapter service BAT file with a text editor.
2. Add the WebSocket additional parameter: -wsport:[port number]
For example: [adapter].exe -service -ip:127.0.0.1 -port:8081 -wsiurl:https://xxxxx:443/WebSerApp_MyProject –wsport:8007
3. Save the changes.
For more details about the adapter Windows service configuration, in SORIS, see (Optional) Configure Adapter Windows Service.
Method 1 Start the Service Using the HTTP Protocol
- Open Windows Task Manager.
- Select the Services tab.
- Click Services.
- In the Services window, right-click the Siemens.Gms.MeteoblueWeather and click Start.
Method 2 Start the Service Using the HTTPS Protocol
- You created the self-signed certificate. For more details about certificates, in SORIS, see Secure Communication.
- Using the Microsoft Management Console you obtained the thumbprint needed for starting the adapter service in secure mode using the https protocol.
- Open Windows Task Manager.
- Click the Services tab.
- Click Services.
- In the Services window, right-click the Siemens.Gms.MeteoblueWeather.
- Click Properties.
- In the Start parameters field, enter: -secure:[thumbprint] (for example,
-secure:40f0329e31f85466cae9ec1507f7e6318589fd77).
- Click Start.