在runServer.js中有声明如何启动http服务:
查看端口占用情况
而且在系统管理器中,根本找不到PID为7956的应用,那能更改端口吗?
在server.js中有声明:
module.exports = {name: 'start',func: server,description: 'starts the webserver',options: [{command: '--port [number]',default: 8081,parse: (val: string) => Number(val),}, {
C:\Users\Administrator\MyProject6\node_modules\react-native\local-cli\server
http://localhost:8081/index.android.bundle?platform=android