Error: listen EADDRINUSE: address already in use :::3000
sudo lsof -i :3000
Error: listen EADDRINUSE: address already in use :::3000
sudo lsof -i :3000
Error: listen EADDRINUSE: address already in use :::8888
lsof -n -i:5000
Error: listen EADDRINUSE: address already in use
Find server pid:
lsof -i tcp:5000 (the 5000 is the port number)
kill the server:
kill -9 111119 (the 111119 is the pid)
Error: listen EADDRINUSE: address already in use :::3000
kill -9 {PID}
how to link js to html
<script src="Your-JavaScript-File.js"></script> <!--If JS file is in same folder with HTML file-->
how to connect a javascript file to html
<script src="name.js">
//put in your javascript here
</script>
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us