Comments (7)
直接在conf/app.conf下面配置httpaddr = "localhost"
也可以使用nginx代理,更多配置信息请看beego官网
from kefu_server.
不好意思,不会go语言,试了配置httpaddr,为空所有域名可以访问,但是是指定端口,指定域名就闪退。windows服务器
from kefu_server.
有错误日志吗?看一下项目根目录的日志文件
from kefu_server.
当前环境为测试环境2020/03/07 22:55:13.271 [I] [asm_amd64.s:1357] http server Running on http://域名:8080
2020/03/07 22:55:13.272 [C] [asm_amd64.s:1357] ListenAndServe: listen tcp 服务器IP:8080: bind: The requested address is not valid in its context.
域名和ip已替换
from kefu_server.
那你配置端口或者域名是否正常?,这个看起来貌似是你访问了某个接口导致报上下文错误
from kefu_server.
你好,都是正常的,ip是服务器外网ip
from kefu_server.
你直接配置外网IP或者localhost可以跑起来么?
from kefu_server.
Related Issues (5)
- 信息存储问题 HOT 3
- kefu_flutter HOT 1
- .gitignore文件中 app copy.conf 是啥意思? HOT 1
- demo链接打不开,能否重新给出可以用链接呢 HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from kefu_server.