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 -

r - Update two sets of radiobuttons reactively - shiny -

ios - Realm over CoreData should I use NSFetchedResultController or a Dictionary? -