woensdag 20 januari 2021

Door welk process is poort 80 in gebruik

 netstat -aon | findstr :80

 If you would like to free the port, go to Task Manager, sort by pid and close those processes.

-a displays all connections and listening ports.
-o displays the owning process ID associated with each connection.
-n displays addresses and port numbers in numerical form.

Nginx restart

nginx staat meestal in /etc/nginx

Herstarten:
sudo su
systemctl reload nginx

of

systemctl restart nginx