beego的https和http同时启用

2017/07/19 14:01:03 [I] [asm_amd64.s:2197] http server Running on http://:8080

2017/07/19 14:01:03 [I] [asm_amd64.s:2197] https server Running on https://:443

2017/07/19 14:01:03 [C] [asm_amd64.s:2197] ListenAndServeTLS: listen tcp :443: bind: Only one usage of each socket address (protocol/network address/port) is normally permitted.

成功: 进程退出代码 0.

报错解决:

注册完数据库,就不报错了,不知道是不是beego的bug

原文地址:https://www.cnblogs.com/kekemuyu/p/7205461.html