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
Post a Comment