#1
for tip version #1
Showing
1 changed file
with
4 additions
and
0 deletions
| ... | @@ -38,6 +38,10 @@ Here is the canonical "Hello, world" example app for beego: | ... | @@ -38,6 +38,10 @@ Here is the canonical "Hello, world" example app for beego: |
| 38 | beego.Run() | 38 | beego.Run() |
| 39 | } | 39 | } |
| 40 | 40 | ||
| 41 | > in tip version the default listin on tcp6. so you must set HttpAddr: | ||
| 42 | |||
| 43 | > `beego.HttpAddr = "127.0.0.1"` | ||
| 44 | |||
| 41 | default port:8080 | 45 | default port:8080 |
| 42 | 46 | ||
| 43 | http get http://localhost:8080 | 47 | http get http://localhost:8080 | ... | ... |
-
Please register or sign in to post a comment