Dapp to http.server

I’ve downloaded dapp tp Atom- using python 3 to http.server I’m getting no response in localhost:8000-the output on powershell is:
PS C:\Users\keith\Documents\ethereum-course-advanced2\dapp> python -m http.server
Serving HTTP on :: port 8000 (http://[::]:8000/) …
::1 - - [11/Sep/2020 10:21:39] “GET / HTTP/1.1” 200 -
::1 - - [11/Sep/2020 10:30:27] “GET / HTTP/1.1” 200 -
then:
C:\Users\keith\Documents\ethereum-course-advanced2\dapp> python -m http.server
Serving HTTP on :: port 8000 (http://[::]:8000/) …
::1 - - [11/Sep/2020 11:12:56] “GET / HTTP/1.1” 200 -
::1 - - [11/Sep/2020 11:12:58] code 404, message File not found
::1 - - [11/Sep/2020 11:12:58] “GET /favicon.ico HTTP/1.1” 404 -

Any help appreciated>
Keith

Hey @Keith1,

Try the following:

  • Navigate into your project folder (the one that contains your website).
  • Type now python -m http.server
  • Open your browser and navigate to: http://localhost:8000/

What does the page show?

Cheers,
Dani

1 Like

Hi,
PS C:\Users\keith\Documents\ethereum-course-advanced2\dapp> python -m http.server
Serving HTTP on :: port 8000 (http://[::]:8000/) …
::1 - - [14/Sep/2020 10:25:55] “GET / HTTP/1.1” 200 -
::1 - - [14/Sep/2020 10:25:55] code 404, message File not found
::1 - - [14/Sep/2020 10:25:55] “GET /favicon.ico HTTP/1.1” 404 -
On Chrome ‘Directory listing for /’ and no content

Hi,

Think I know where I went wrong.I’m ok now.

Keith