Trouble with global access to Rosbridge Server Websocket

asked 2016-06-07 06:18:48 -0600

nishthapa gravatar image

updated 2016-06-07 06:36:17 -0600

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.
edit retag flag offensive close merge delete