eggjs / eggjs/egg

Single mode 启动没有端口可以访问服务

Open
#4,122 6 comments 0 reactions 0 assignees View on GitHub
Inactive
Dominant language
TypeScript
Stars
19k
Forks
1.8k
PR merge metrics
No merged PRs in 30d

Description

## What happens?
因为应用要run在容器之中,所以希望用单进程模型运行。
启动single mode,但是没有端口可以访问服务。
```js
const egg = require('egg');
egg.start();
```

## Mini Showcase Repository(REQUIRED)

https://github.com/wanqiuz/single-mode-egg

## Context
- **Node Version**: 10.16.0
- **Egg Version**: 2.25.0
- **Plugin Name**:
- **Plugin Version**:
- **Platform**: Linux

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.