# Reference: websites

<span></span>

[https://www.youtube.com/watch?v=HSRghjwTTOQ&amp;list=PLIhvC56v63IJIujb5cyE13oLuyORZpdkL&amp;index=8](https://www.youtube.com/watch?v=HSRghjwTTOQ&list=PLIhvC56v63IJIujb5cyE13oLuyORZpdkL&index=8)

Ep 8:

python -m http.server

localhost:8000

python -m http.server:7600

(note no index.html)

php -S 127.0.0.1:8085

npx http-server -p 8086

systemctl start apache2

sudo nano /etc/apache2/ports.conf

(change 80 to something else)

curl (client URL)

curl localhost:7600

curl -o coolwebsite localhost:8080

cat coolwebsite

curl -I localhost:8080. (header only)

clear

curl -v localhost:8080

request and response

wget localhost:7600

<div id="bkmrk--5">  
</div><span id="bkmrk--6"></span>  
---

<small>Migrated from Apple Server Wiki. Original page ID: F0A1L4f2</small>