Hi Ray -
Yeah, the 8088 slipped into the Server.xml configuration file at some point when we were testing while running multiple instances of MiServer. Each instance needs to listen on its own port.
You can set the port to any available port of your choosing. Further, when MiServer starts, it displays a message "MiServer started on port: XXXX".
The reference in #.Boot.Run merely sets the port to a default of 8080 in the absence of any setting from Server.xml.
The <Address> element in Server.xml isn't actually used by any MiServer code, but is available to the developer to insert a URL which refers back to the website. For instance, if you're using a router with port forwarding, MiServer could be listening on port 8088 but the URL and port visible to world might be something else entirely.
Sorry for the confusion that's ensued from this. We're segueing to use GitHub for the MiServer repository. When I commit the next round of updates, I'll bring the port number back in line with the documentation.
ray wrote:The MiServer documentation keeps referring to Port 8080 not 8088, and the APL code
in #.Boot.Run refers to 8080:
∇ Run root;Config
AppRoot←root,(~(¯1↑root)∊'\/')/'/'
Load 1
:If #.Files.Exists AppRoot,'Config/Server.xml'
Config←(#.XML.ToNS #.Files.GetText AppRoot,'Config/Server.xml').Server
:Else
Config←⎕NS''
Config.(ClassName DefaultPage)←'MildServer' 'index'
:EndIf
Config.Port←Config Setting'Port' 1 8080
Having references to both PORT 8080 and 8088 is very confusing. Especially when the DOCUMENTED port 8080 is NOT correct.