Enabling local host IP in settings of VSC.
https://i.stack.imgur.com/KJBko.png
https://stackoverflow.com/questions/61169067/live-server-vscode-this-page-isn-t-working-127-0-0-1-didn-t-send-any-data-err