Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

port configuration is unavailable #18

Open
zddhub opened this issue Jun 27, 2015 · 1 comment
Open

port configuration is unavailable #18

zddhub opened this issue Jun 27, 2015 · 1 comment

Comments

@zddhub
Copy link

zddhub commented Jun 27, 2015

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
Copy link
Member

astaxie commented Jul 2, 2015

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

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants