error when starting dev server:Error: listen EACCES: permission denied 0.0.0.0:80 at Server.set
error when starting dev server:
Error: listen EACCES: permission denied 0.0.0.0:80
at Server.setupListenHandle [as _listen2] (node:net:1313:21)
at listenInCluster (node:net:1378:12)
at Server.listen (node:net:1465:7)Using cnpm install works
Error: listen EACCES: permission denied 0.0.0.0:80
at Server.setupListenHandle [as _listen2] (node:net:1313:21)
at listenInCluster (node:net:1378:12)
at Server.listen (node:net:1465:7)Using cnpm install works
mac to 8090.
mac terminal port view command
View Port thread lsof -i:4700
$ lsof -i:4700
COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
node 12159 yyyyyy 23u IPv4 0x76b4f5051c4983f3 0t0 TCP *:netxms-agent (LISTEN)
The PID here is the process number that occupies port 4700
kill 4700
Solution:
View mac terminal port command netstat -AaLlnW
Method 1
// Check if port 80 is occupied
sudo lsof -i :80
Method 2
netstat -anp tcp | grep 80
The following command can directly end all processes that are occupying the port.
lsof -P | grep ‘:80’ | awk ‘{print $2}’ | xargs kill -9
Ps -ef|grep program name
Read More:
- [Solved] Zabbix-server startup error: cannot start alert manager service: Cannot bind socket to “/var/run/zabbix/zabbix_server_alerter.sock”: [13] Permission denied.
- How to Solve Vue Error: EACCES: permission denied
- [Solved] Vscode Connect to the remote server error: permission denied (public key)
- Flask Startup Error: s.bind(server_address)PermissionError: [Errno 13] Permission denied
- socket java.net.BindException: bind failed: EACCES (Permission denied)
- (node:2233) UnhandledPromiseRejectionWarning: Error: EACCES: permission denied, mkdir ‘/usr/loca~‘
- Android 10 open file exception open failed: eacces (permission denied) android:requestLegacyExternalStorage= “true“
- rsync error: error starting client-server protocol (code 5) at main.c(1648) [Receiver=3.1.2]
- [Solved] – npm run dev Error: listen EADDRINUSE: address already in use :::8000(or 8080 etc.)
- [Solved] Docker Error: got permission denied while trying to connect to the docker daemon socket at…
- How to Fix Webpack run error webpack dev server
- [Solved] Gerrit Error: Permission denied publickey
- [Solved] Android7 8 Jack server SSL error: Jack server failed to (re)start, try ‘jack-diagnose’ or see Jack server log
- ./get_datasets.sh Error: permission denied [How to Solve]
- MySQL error: starting MySQL… The server quit without updating PID file
- [Solved] Docker startup container error: permission denied””: unknown.
- [Solved] Docker Error: bad interpreter: Permission denied
- Run-time error “70“:Permission denied [How to Solve]
- [Solved] failed (13: Permission denied) while reading upstream
- [Solved] Error from server (InternalError): an error on the server (““) has prevented the request from suc