new environment modification

  • applied MobaXterm and ssh to remotely access the virtual machine

image.png

  • in virtualbox settings, apply those port forwarding rules

image.png

  • when apply code server, use shell command:

    1. code-server --host 0.0.0.0 --port 8080 --auth none

    and access http://127.0.0.1:88/

  • when run manage.py, use shell command:

    1. python3 ./manage.py runserver 0.0.0.0:8000

    and access http://127.0.0.1:80/

(0.0.0.0 - this ip represents the machine itself)

look at the status/start/stop codeserver

  1. systemctl status codeserver
  2. systemctl start codeserver
  3. systemctl stop codeserver