Hi guys, I started this question but whilst typing it I have got the thing working, but since I’d written most of it, I thought I would put it out there:
- for info, and
- maybe someone knows what is the problem and/or how to fix it.
in short (and I don’t know what component is at fault):
manager.io server 17.7.7, ubuntu server 17.04, and mono 4.6.2 do not play well together.
manager.io server 17.7.44, ubuntu server 17.04, and mono 4.6.2 do not play well together.
manager.io server 17.7.45, ubuntu server 17.04, and mono 4.6.2 do not play well together.
manager.io server 17.7.45, ubuntu server 16.04.2 and mono 5.0.1.1 DO play well together.
(I’ve only just realised the newer server version is running an older mono version. Strange considering they were installed the same way.)
Anyway, the error I was receiving is the subject line socket exception. In full:
$mono /usr/share/manager-server/ManagerServer.exe -port 8081
Manager Server [Version 17.7.7]
Copyright (c) 2017 NGSoftware. All rights reserved.
Syntax:
mono ManagerServer.exe [options]
Options:
-port [number] Set port on which HTTP server should listen on.
-path [directory] Set directory where Manager should look for data.
Examples:
mono ManagerServer.exe
mono ManagerServer.exe -port 80
mono ManagerServer.exe -port 80 -path "/home/madivad/.local/share/Manager"
[11:29:36 PM] SocketException: The requested address is not valid in this context
Press any key to exit ...
I tried updating mono in 17.04 to a later version, but v4 seems to be as high as I can go for some reason.
Anyway, as mentioned at the start, this is here so someone else doesn’t spend two nights trying to get this to work.