Do you want to improve this question?Edit your post to clarify the issue you are trying to resolve by adding details.
Closed 5 years ago.
5 years agoHow do I view index.html in my browser using localhost?
html http
Python is the fastest way to set up a local server for development.
Python 2 uses SimpleHTTPServer.
$python-m SimpleHTTPServer
Python 3 uses http.server.
$python3-m http.server
If you omit the port number, 8000 will be used, so accessing http://localhost:8000 (or simply localhost:8000) from your browser will start the server as root.
916 When building Fast API+Uvicorn environment with PyInstaller, console=False results in an error
582 PHP ssh2_scp_send fails to send files as intended
573 rails db:create error: Could not find mysql2-0.5.4 in any of the sources
613 GDB gets version error when attempting to debug with the Presense SDK (IDE)
© 2024 OneMinuteCode. All rights reserved.