Skip to content

部署后访问超时?? #1

@atticusWang

Description

@atticusWang

git clone后执行npm install安装依赖,并用node index.js启动node进程,但是前端访问的时候报错,而且没看到项目监听host中的6443端口,报错如下:

Tue May 28 2019 18:48:50 GMT+0800 (CST) Server is listening on port 8443
Tue May 28 2019 18:49:02 GMT+0800 (CST) Connection accepted.
events.js:183
      throw er; // Unhandled 'error' event
      ^

Error: connect ECONNREFUSED 127.0.0.1:6443
    at Object._errnoException (util.js:992:11)
    at _exceptionWithHostPort (util.js:1014:20)
    at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1186:14)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions