Giter Club home page Giter Club logo

Comments (7)

chenxianqi avatar chenxianqi commented on August 27, 2024

直接在conf/app.conf下面配置httpaddr = "localhost"
也可以使用nginx代理,更多配置信息请看beego官网

from kefu_server.

jlcool avatar jlcool commented on August 27, 2024

不好意思,不会go语言,试了配置httpaddr,为空所有域名可以访问,但是是指定端口,指定域名就闪退。windows服务器

from kefu_server.

chenxianqi avatar chenxianqi commented on August 27, 2024

有错误日志吗?看一下项目根目录的日志文件

from kefu_server.

jlcool avatar jlcool commented on August 27, 2024

当前环境为测试环境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.

chenxianqi avatar chenxianqi commented on August 27, 2024

那你配置端口或者域名是否正常?,这个看起来貌似是你访问了某个接口导致报上下文错误

from kefu_server.

jlcool avatar jlcool commented on August 27, 2024

你好,都是正常的,ip是服务器外网ip

from kefu_server.

chenxianqi avatar chenxianqi commented on August 27, 2024

你直接配置外网IP或者localhost可以跑起来么?

from kefu_server.

Related Issues (5)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.