Unserver Update 1.5.2
In this version we fixed several minor issues and added the ability to specify the IP address of the Unserver REST API .
api.host Setting
It's now possible to specify a hostname or IP address used by Userver HTTP API.
If you don’t specify this setting, the API will listen on all system IP addresses. This works fine most of the time.
To just bind to a single IP, use this setting in network.json
:
api: {
host: "192.168.1.1",
port: 9000
}
Make sure you don’t have a Url reservation added for +:9000, otherwise it’s possible to get 503 errors when trying to call the API. You can remove existing reservations with this command:
netsh http delete urlacl http://+:9000/