python - Access local server on AWS ubuntu machine image -


i have created local server @ 0.0.0.0:8000 on ubuntu virtual machine on aws following command

 python -m simplehttpserver 

this gave me following response

serving http on 0.0.0.0 port 8000 ... 

how can access server browser?

if on host running web server, go to: http://localhost:8000

if on computer, access host via ip address: http://ip-address:8000 (eg http://54.22.18.93:8000)

if accessing computer, security group need allow inbound access on port 8000.


Comments

Popular posts from this blog

facebook - android ACTION_SEND to share with specific application only -

python - Creating a new virtualenv gives a permissions error -

javascript - cocos2d-js draw circle not instantly -