Trouble with global access to Rosbridge Server Websocket
Hey guys, I have sucsessfully set up an apache2
server on a Raspberry Pi 2. It hosts a simple webpage which I created. All this webpage does is that it connects to the ws://ww.xx.yy.zz:9090
of my rosbridge_server websocket
which is also running on the Pi. I can access the webpage from the internet but the webpage does not connect to rosbridge_server
(websocket). (I have made all the port forwarding and other required settings on my router). Please help me. Here is the JavaScript Console error message from my browser:
WebSocket connection to 'ws://ww.xx.yy.zz:9090/' failed: Error in connection establishment: net::ERR_CONNECTION_TIMED_OUT
Error connecting to websocket server
Connection to websocket server closed.