CS50 week 8 http-server command not working. The link is not appearing. Can't find any solutions online
In your VSCode Codespace for CS50: after entering command http-server
in the terminal, please check the PORTS tab, right next to the TERMINAL one.
You may see a new Port open in the list, set on 8080
and with a "Running Process" on http-server (...)
. Ctrl + click on the link in column "Local Address" will open a new browser page of you website.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.