connection refused from python

174 views
Skip to first unread message

CODEY

unread,
Jun 24, 2012, 2:14:11 PM6/24/12
to python-...@googlegroups.com
I run a few tornado webservers which is used for a website and for ipad apps ... everything is fine, but i have the clients connecting directly to the servers .. i would like to abstract this so a hacker cannot figure out the location of my servers and try to kill them ... i want to call the server from python on another server (godaddy) ... when i try to connect (in every way possible in python), i always get connection refused ... why?

the last test was using  urllib2.Request but i have tried all ways i could find on the python website ... any ideas?  i see on the tornado server that a get request is noted .. but why from python on godaddy it says connection refused?

CODEY

unread,
Jun 24, 2012, 2:22:44 PM6/24/12
to python-...@googlegroups.com
i tried urllib instead of urllib2 and got similar: 

et = <type 'exceptions.IOError'>
ev = [Errno socket error] [Errno 111] Connection refused

aliane abdelouahab

unread,
Jun 25, 2012, 7:57:38 AM6/25/12
to Tornado Web Server
why not using Ngnix that will 'hide' tornado?
never tried that, but i always see that answer.
Reply all
Reply to author
Forward
0 new messages