python - Cannot access bottle development server -


i trying run bottle hello world example:

from bottle import route, run  @route('/hello') def hello():     return "hello world!"  run(host='localhost', port=8080, debug=true) 

i run file , following in command prompt:

bottle v0.12.9 server starting (using wsgirefserver())... listening on http://localhost:8080/ hit ctrl-c quit. 

however, when visit http://localhost:8080/hello default "server not found" page firefox.


Comments

Popular posts from this blog

authentication - Mongodb revoke acccess to connect test database -

c - getting error: cannot take the address of an rvalue of type 'int' -

How to merge four videos on one screen with ffmpeg -