From 51f489ddc5e2f0fa2dd59062dbce3ba450635911 Mon Sep 17 00:00:00 2001 From: CornierKhan1 Date: Fri, 7 Sep 2018 20:23:14 +1000 Subject: [PATCH] Edit port to 2018 --- main.go | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/main.go b/main.go index 9bdcc8a..8baf946 100644 --- a/main.go +++ b/main.go @@ -110,9 +110,11 @@ type UNR struct { } func main() { - fmt.Println("Starting HTTP connection (Port 80)...") + fmt.Println("Starting HTTP connection (Port 2018)...") + fmt.Println("NOTICE: The SOAP Server runs under a port that doesn't work with WSC naturally.") + fmt.Println("You can either use proxying from Nginx (recommended) or another web server software, or edit this script to use port 80.") http.HandleFunc("/", handler) // each request calls handler - log.Fatal(http.ListenAndServe(":80", nil)) + log.Fatal(http.ListenAndServe(":2018", nil)) } func handler(w http.ResponseWriter, r *http.Request) {