Hi everyone, I am practicing the course outside, I try to get a website link like:
https://i-0ff704513c88eda49.robotigniteacademy.com/webpage/
but I can’t get it and I don’t know how to get my link. Please help me!, Thanks so much!
Hi @nguyenphucvuongcdt ,
Are you getting the link by using the command below?
webpage_address
If so, that is correct. But you also must make sure you have the webserver running with the command
python -m SimpletHTTPServer
What error are you getting?
I have a custom html file and I can open it with google chrome, but I would get my link of the website which is created by my html file. I’m outside the course.
I want access from other computer
You need to install SimpleHTTPServer first
pip install simplehttpserver
For python 2, run it like
python -m SimpleHTTPServer
And for python 3
python3 -m http.server
Use ifconfig
to know your local network IP
Another option is by using NodeJS http server as well.
npm install -g http-server
http-server $PATH_TO_FOLDER --port $PORT_NUMBER
It will output in the shell your network IP to access from other computers.