This commit is contained in:
Liang Ding 2022-10-28 20:01:30 +08:00
parent a314f0ffc8
commit 911490c350
No known key found for this signature in database
GPG key ID: 136F30F901A2231D
2 changed files with 3 additions and 2 deletions

View file

@ -81,6 +81,7 @@ func Serve(fastMode bool) {
host = "127.0.0.1"
}
logging.LogInfof("boot kernel [fast=%v, port=%s]", fastMode, util.ServerPort)
ln, err := net.Listen("tcp", host+":"+util.ServerPort)
if nil != err {
if !fastMode {