ERROR Packager can't listen on port 8081 Most likely another process is already using this port

 ERROR  Packager can't listen on port 8081
Most likely another process is already using this port
Run the following command to find out which process:

ERROR Packager can't listen on port 8081 Most likely another process is already using this port

错误原因:

8081端口号被占用了;

解决方案:

关闭8081端口的程序;

方法1 Dos关闭程序

1.查找端口8081:netstat -aon|findstr "8081"

ERROR Packager can't listen on port 8081 Most likely another process is already using this port

2. 通过PID查找占用端口的进程:tasklist|findstr "4764"

ERROR Packager can't listen on port 8081 Most likely another process is already using this port

3.强制关闭nodex.exe程序:taskkill /f  /im nodex.exe

ERROR Packager can't listen on port 8081 Most likely another process is already using this port

方法2. 360关闭经常

1. 打开“360安全卫士”->右下角“+”(更多)

ERROR Packager can't listen on port 8081 Most likely another process is already using this port

2. 打开"流量防火墙"

ERROR Packager can't listen on port 8081 Most likely another process is already using this port

3. 点击“网络连接”,然后查找本地端口8081对应的进程;

ERROR Packager can't listen on port 8081 Most likely another process is already using this port

4. 选择进程,右键“结束进程

ERROR Packager can't listen on port 8081 Most likely another process is already using this port