beego / beeweb

An open source project for official documentation and blog website of beego app framework.
http://beego.me
Apache License 2.0
243 stars 118 forks source link

port configuration is unavailable #18

Open zddhub opened 9 years ago

zddhub commented 9 years ago

http_port_dev=8090, but http server Running on :8080.

localhost:beeweb zdd$ ls Dockerfile README.md bee.json beeweb.go conf models routers static_source LICENSE a.log beeweb blog docs products static views localhost:beeweb zdd$ cat conf/app.conf [beego] app_name=Beego Web run_mode=dev http_port_dev=8090 http_port_pro=8090

[lang] types=en-US|zh-CN|ru-RU names=English|简体中文|Russian

[github] client_id= client_secret=

[app]

localhost:beeweb zdd$ ./beeweb 2015/06/27 17:06:03 [models.go:369] [D] Checking file updates 2015/06/27 17:06:09 [models.go:481] [D] Finish check file updates 2015/06/27 17:06:09 [init.go:33] [D] Loading language: en-US 2015/06/27 17:06:09 [init.go:33] [D] Loading language: zh-CN 2015/06/27 17:06:09 [init.go:33] [D] Loading language: ru-RU 2015/06/27 17:06:09 [beeweb.go:52] [I] beego 1.0.0 2015/06/27 17:06:09 [asm_amd64.s:2232] [I] http server Running on :8080 2015/06/27 17:06:39 [router.go:854] [D] | GET | / | 34.328358ms | match | /

astaxie commented 9 years ago

I think the beeweb's config should be mistake. it should be like as below

[test]
httpport=8090
[prod]
httpport =8090