From 72dbf235c9311ee953dbd56b0a4edd85b3666119 Mon Sep 17 00:00:00 2001 From: BillyGalbreath Date: Thu, 11 Jul 2024 18:21:12 -0500 Subject: [PATCH] add wiki link for httpd access denied error --- src/httpd/WebServer.cs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/httpd/WebServer.cs b/src/httpd/WebServer.cs index c1941e8..3bceebd 100644 --- a/src/httpd/WebServer.cs +++ b/src/httpd/WebServer.cs @@ -55,6 +55,9 @@ private void RunAsyncInfiniteLoop() { (_listener = new HttpListener { Prefixes = { $"http://*:{port}/" } }).Start(); } catch (Exception e) { Logger.Error("Internal webserver has failed to start"); + if (e is HttpListenerException { ErrorCode: 5 }) { + Logger.Error("Check LiveMap Wiki for possible fixes: https://vs.pl3x.net/livemap-access-denied"); + } Logger.Error(e.ToString()); _running = false; _stopped = true;