Answers for "html src js"

5

Error: listen EADDRINUSE: address already in use :::3000

sudo lsof -i :3000
Posted by: Guest on April-29-2020
6

EADDRINUSE: address already in use

sudo lsof -i :<PORT>
kill -9 <PID>
Posted by: Guest on May-09-2020
0

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)
Posted by: Guest on December-28-2020
7

script src tag in html

<script type="text/javascript" 
         src="file.js">  
</script>
Posted by: Guest on May-08-2020
10

how to link js to html

<script src="Your-JavaScript-File.js"></script> <!--If JS file is in same folder with HTML file-->
Posted by: Guest on April-15-2020

Browse Popular Code Answers by Language