I am trying to replicate the example simple_chat in the gevent-socketio module gevent-socketio, simple_chat example.
Every thing goes as it should when in chat.html the connection io is set to:
// socket.io specific code
var socket = io.connect("http://localhost:8080");
i.e, when I make the connection in my own computer to my own computer.
The problem comes when i upload this example to a web site and I point to the address of my computer in this way:
var socket = io.connect("http://11.22.33.44:8080");
where 11.22.33.44 is the address of my computer (public address). Doing this makes that chat.html is not displayed correctly and in the javascript console this is pointed out:
http://11.22.33.44:8080/socket.io/1/?t=1422551801251 net::ERR_CONNECTION_REFUSED
(file 'chat.py' is running in my computer as in the previous case). For sure I am missing something important here. Any advice?