MacOS starts the vue project, the port number is 80, it seems that ports below 1024 are disabled on mac. how to solve this problem
I hope everyone can help me solve the problem of enabling port 80 project under mac
This error occurs when the port is already in use . You have two options to resolve this issue.
lsof -i :80
PID
kill {{PID}}
You can actually run your vue application on a different port
npm runserve --port 8080
yarnserve --port 8080
This error occurs when the port is already in use . You have two options to resolve this issue.
Termination port
lsof -i :80
PID
, if the port is in usekill {{PID}}
, the port will be providedRun the project on a different port
You can actually run your vue application on a different port
npm runserve --port 8080
yarnserve --port 8080