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
P粉1210816582023-09-07 09:55:43
This error occurs when the port is already in use . You have two options to resolve this issue.
lsof -i :80
PID
, if the port is in use kill {{PID}}
, the port will be provided You can actually run your vue application on a different port
npm runserve --port 8080
yarnserve --port 8080