试试,如果还是不行,说明你的8080端口被占用了,换一个端口测试
HttpServer.CloseHttpServer.Prefixes.Add("http://192.168.1.20:8080/")HttpServer.Start()