Tried this -
XCPNG | ~/_scripts > netstat -tulpn | sed -n '1,2p;/5900\|80/p'
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 127.0.0.1:5900 0.0.0.0:* LISTEN 1741/vncterm
tcp 0 0 0.0.0.0:10809 0.0.0.0:* LISTEN 2896/xapi-nbd
tcp6 0 0 :::80 :::* LISTEN 2887/xapi
udp 0 0 0.0.0.0:780 0.0.0.0:* 1029/rpcbind
udp6 0 0 :::780 :::* 1029/rpcbind
VNC on the XCPNg box is listening to 127.0.01 : 5900, may be - I should change this to listen to 0.0.0.0 ?
Also, something to do with protocol used - the browser > inspect > network - seems to use ws:// protocol and receives a 101 - upgrade, should it have been vnc ? ( apologies if its a random guess rant here) -- Attached screenshot of browser console logs.
FYI - 192.168.0.49:3000 - is where my XOA VM is running as a VM on XCP Ng (192.168.0.45)
and the logs below is when the console for itself (i.e. same IP)