Open IntuitIntelLLC opened 4 weeks ago
// StartAPI starts the API server. func (s *Server) StartAPI() { http.HandleFunc("/metrics", s.metricsHandler) http.HandleFunc("/stats", s.statsHandler) http.HandleFunc("/logs", s.logsHandler) http.ListenAndServe(":8080", nil) } Here, yes?
cmd.Flags().Int("api-port", 8080, "Port for the API server to listen on.")
I have a test scenario where I need to emulate several hundred VLANs/client spread across them, and I’m attempting to do it from a single box, and a single network interface that I then spin up the VLAN tagged sub interfaces, and then spin up the dhammer on each one of those… clearly after the very first instance all of the rest conflict with port 8080. what am I missing here, is there a small change or flag that I can specify the server listening port?