我的 安全面板是这样的,虽然通过了8360端口,但是在终端启动npm start 提示端口绑定失败。
- [2022-12-13T13:45:20.520] [2034] [ERROR] - Error: bind EACCES null:8360
- at listenOnPrimaryHandle (node:net:1531:18)
- at rr (node:internal/cluster/child:159:12)
- at Worker.<anonymous> (node:internal/cluster/child:109:7)
- at process.onInternalMessage (node:internal/cluster/utils:49:5)
- at process.emit (node:events:525:35)
- at process.emit (/www/wwwroot/homenote/server_home_note/node_modules/source-map-support/source-map-support.js:439:21)
- at emit (node:internal/child_process:946:14)
- at processTicksAndRejections (node:internal/process/task_queues:84:21) {
- errno: -13,
- code: 'EACCES',
- syscall: 'bind',
- address: null,
- port: 8360
- }
复制代码 然后,我这是 手机机子安卓linux deploy 安装了centos7 似乎有看到 使用 “systemctl” 命令好像会报错,百度了下意思是容器内不允许使用这个命令 不太清楚。
但是呢,我该如何在终端开启8360端口呢?这边安装 mysql 5.6 可以启动,端口也OK
- [root@localhost ~]# mysql -uroot -p
- Enter password:
- Welcome to the MySQL monitor. Commands end with ; or \g.
- Your MySQL connection id is 3
- Server version: 5.6.50-log Source distribution
- Copyright (c) 2000, 2020, Oracle and/or its affiliates. All rights reserved.
- Oracle is a registered trademark of Oracle Corporation and/or its
- affiliates. Other names may be trademarks of their respective
- owners.
- Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
- mysql> show databases;
- +--------------------+
- | Database |
- +--------------------+
- | information_schema |
- | mysql |
- | performance_schema |
- +--------------------+
- 3 rows in set (0.02 sec)
- mysql>
复制代码
我现在的问题是 不知道该如何开启端口,也许应该去问linux deploy
|