this is the result of the command
sudo vncserver -geometry 1080×1920 -depth 32 -localhost no
State Recv-Q Send-Q Local Address:Port Peer Address:Port Process
LISTEN 0 5 0.0.0.0:5902 0.0.0.0:* users:((“Xtigervnc”,pid=2947,fd=9))
LISTEN 0 5 0.0.0.0:5903 0.0.0.0:* users:((“Xtigervnc”,pid=16927,fd=9))
LISTEN 0 5 0.0.0.0:5901 0.0.0.0:* users:((“Xtigervnc”,pid=700,fd=9))
LISTEN 0 128 0.0.0.0:22 0.0.0.0:* users:((“sshd”,pid=600,fd=3))
LISTEN 0 5 [::]:5902 [::]:* users:((“Xtigervnc”,pid=2947,fd=10))
LISTEN 0 5 [::]:5903 [::]:* users:((“Xtigervnc”,pid=16927,fd=10))
LISTEN 0 5 [::]:5901 [::]:* users:((“Xtigervnc”,pid=700,fd=10))
LISTEN 0 128 [::]:22 [::]:* users:((“sshd”,pid=600,fd=4))
websockify command :
websockify –web /usr/share/novnc –target-config /tokens –cert /etc/letsencrypt/live/mydomain.shop/fullchain.pem –key /etc/letsencrypt/live/mydomain.shop/privkey.pem my_cloud_machine_IP:443
WebSocket server settings:
– Listen on my_cloud_machine_IP:443
– Web server. Web root: /usr/share/novnc
– SSL/TLS support
– proxying from my_cloud_machine_IP:443 to targets generated by TokenFile