本地访问locahost3000没毛病,放到服务器上就出问题了,页面上显示:Cannot GET /
f12控制台显示: Failed to load resource: the server responded with a status of 404 (Not Found)
服务器上的错误是:Error: listen EADDRINUSE: address already in use :::3000{
code: 'EADDRINUSE',
errno: -98,
syscall: 'listen',
address: '::',
port: 3000
}
接下来怎么弄这个linux3000端口让它能使用?
防火墙放开了嘛?然后端口权限白名单什么的开了嘛?
┌─────┬──────────┬─────────────┬─────────┬─────────┬──────────┬────────┬──────┬───────────┬──────────┬──────────┬──────────┬──────────┐
│ id │ name │ namespace │ version │ mode │ pid │ uptime │ ↺ │ status │ cpu │ mem │ user │ watching │
├─────┼──────────┼─────────────┼─────────┼─────────┼──────────┼────────┼──────┼───────────┼──────────┼──────────┼──────────┼──────────┤
│ 0 │ index │ default │ 1.0.0 │ fork │ 0 │ 0 │ 3404 │ **errored **│ 0% │ 0b │ root │ disabled │
└─────┴──────────┴─────────────┴─────────┴─────────┴──────────┴───