Answers for "How to run html file on local network"

0

How to run html file on local network

#for Linux users:
#type this in project folder 
	python -m http.server
#localhost 
	http://localhost:8000/

#access from local network 
read -r _{,} gateway _ iface _ ip _ < <(ip r g 1.0.0.0)
printf '%-12s %s\n'  gateway $gateway iface $iface ip $ip
#gateway      192.168.1.1
#iface        eth0
#ip          this_result 

#from anoter local machine 
writ this in the url 
http://this_result:8000/

#tested in linux mint with html css js project !
Posted by: Guest on September-08-2021

Code answers related to "How to run html file on local network"

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language