Open greenbreakfast opened 3 years ago
If the server program is run with a websocket port set to anything other than 5678, the web viewer will not be able to receive the point cloud data.
This is because the 5678 port for the websocket is hard-coded in index.html: https://github.com/OnionIoT/tau-lidar-server/blob/master/TauLidarServer/index.html#L64
(index):64 WebSocket connection to 'ws://127.0.0.1:5678/' failed: Error in connection establishment: net::ERR_CONNECTION_REFUSED
Overview
If the server program is run with a websocket port set to anything other than 5678, the web viewer will not be able to receive the point cloud data.
This is because the 5678 port for the websocket is hard-coded in index.html: https://github.com/OnionIoT/tau-lidar-server/blob/master/TauLidarServer/index.html#L64
Steps to Reproduce
(index):64 WebSocket connection to 'ws://127.0.0.1:5678/' failed: Error in connection establishment: net::ERR_CONNECTION_REFUSED