Closed Ricord closed 3 years ago
I changed the listen_port from 7000 to a custom value 8001, however the console still listen to 7000.
From the code I can see, it log out the correct listen_port, but still use 7000
The file path is "/app/config/server.go", line 27
port, has := conf.Get("listen_port") if has { go func() { log.Print("Listen: ", port) log.Print("Start Successfully!") err := http.ListenAndServe(":7000", router()) ec <- err }() } else { log.Panic("[ERROR] Illegal listen port!") }
Please make the http listen to port ,thanks.
Thanks This problem has been fixed.
I changed the listen_port from 7000 to a custom value 8001, however the console still listen to 7000.
From the code I can see, it log out the correct listen_port, but still use 7000
The file path is "/app/config/server.go", line 27
Please make the http listen to port ,thanks.