Error: listen EADDRINUSE: address already in use :::3000
sudo lsof -i :3000
Error: listen EADDRINUSE: address already in use :::3000
sudo lsof -i :3000
EADDRINUSE: address already in use
sudo lsof -i :<PORT>
kill -9 <PID>
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)
script src tag in html
<script type="text/javascript"
src="file.js">
</script>
how to link js to html
<script src="Your-JavaScript-File.js"></script> <!--If JS file is in same folder with HTML file-->
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