telnet http://official-notebook.com:8888
telnet: could not resolve http://official-notebook.com:8888/telnet: Name or 
service not known

telnet official-notebook.com
Trying 109.123.86.98...
telnet: Unable to connect to remote host: Connection refused





On Monday, April 20, 2015 at 3:32:32 PM UTC+1, Ramos wrote:
>
> try to telnet to that url :8888 and see if your get a black screen
>
> 2015-04-20 15:15 GMT+01:00 Samuel Sowah <sam...@official-notebook.com 
> <javascript:>>:
>
>> Hello,
>> I need help getting websocket_messaging.py to work. when I use it locally 
>> (127.0.0.1)
>> python websocket_messaging.py -k mykey -p 8888
>>
>> ---
>> <script>
>>        $(document).ready(function(){
>>           var data;
>>           $.web2py.web2py_websocket('ws://127.0.0.1:8888/realtime/mygroup
>> ',function(e){data=eval('('+e.data+')')});
>>        });
>> </script>
>>
>>
>> it works. I tried to start it on an online server using screen, 
>> screen python websocket_messaging.py -k mykey -p 8888
>>
>> ---
>> <script>
>>        $(document).ready(function(){
>>           var data;
>>           
>> $.web2py.web2py_websocket('ws://url:8888/realtime/mygroup',function(e){data=eval('('+e.data+')')});
>>        });
>> </script>
>>
>> that also worked except it only works when i try and contact it from my 
>> local app with the script the same as immediately above this statement.
>> when I try to load a page hosted online with the same script, it doesn't 
>> connect, any possible explanation/fix that I can use would be much 
>> appreciated.
>> Here's what I already tried.
>>
>> I tried removing the port 888 from the part in the script so it looks 
>> like this
>> <script>
>>        $(document).ready(function(){
>>           var data;
>>           
>> $.web2py.web2py_websocket('ws://url/realtime/mygroup',function(e){data=eval('('+e.data+')')});
>>        });
>> </script>
>>
>> I tried restarting websocket_messaging.py without the -p option.
>> both don't seem to solve the problem. how do I fix this please? I need 
>> help.
>>
>>  -- 
>> Resources:
>> - http://web2py.com
>> - http://web2py.com/book (Documentation)
>> - http://github.com/web2py/web2py (Source code)
>> - https://code.google.com/p/web2py/issues/list (Report Issues)
>> --- 
>> You received this message because you are subscribed to the Google Groups 
>> "web2py-users" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to web2py+un...@googlegroups.com <javascript:>.
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to