private int startServer() { ActualPort = SimpleHTTPServer.GetOpenPort(this.Settings.WebServerListenPort); string hostDirectory = ResolveExoUrlPath(this.Settings.WebServerHostDirectory); simpleServer = new SimpleHTTPServer(this, this.Settings, hostDirectory, ActualPort, mappings); return(ActualPort); }