package configuration

import "flag"

func FromCommandLineArgs() *ApplicationConfiguration {
	hostPort := flag.String("hostPort", ":9001", "Host:port of the greenwall HTTP server")
	staticDir := flag.String("staticDir", "frontend", "Path to frontend static resources")
	flag.Parse()

	return &ApplicationConfiguration{
		HostPort:  *hostPort,
		StaticDir: *staticDir,
	}
}

package configuration

import "flag"

func FromCommandLineArgs() *ApplicationConfiguration {
	hostPort := flag.String("hostPort", ":9000", "Host:port of the greenwall HTTP server")
	staticDir := flag.String("staticDir", "frontend", "Path to frontend static resources")
	flag.Parse()

	return &ApplicationConfiguration{
		HostPort:  *hostPort,
		StaticDir: *staticDir,
	}
}

--- 
+++ 
@@ -3,7 +3,7 @@
 import "flag"
 
 func FromCommandLineArgs() *ApplicationConfiguration {
-	hostPort := flag.String("hostPort", ":9000", "Host:port of the greenwall HTTP server")
+	hostPort := flag.String("hostPort", ":9001", "Host:port of the greenwall HTTP server")
 	staticDir := flag.String("staticDir", "frontend", "Path to frontend static resources")
 	flag.Parse()
 
Change listening port to 9001
