Skip to content

mayorblock/learningjs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

learningjs

How to: Run simple server

Using python

# host files from local folder 
# 8000 is default
> python3 -m http.server 8000

Expose port in local network

Assuming that firewall has been set up

# expose port (typical HTTP ports are 80 and 8080)
> sudo ufw allow 8000

# Find server IP address
> hostname -I

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published