Re: I CAN connect socket to any localhost port but I shouldn't be able to
- From: qvx <qvx3000@xxxxxxxxx>
- Date: Wed, 30 Jul 2008 00:02:53 -0700 (PDT)
On Jul 30, 4:48 am, "Gabriel Genellina" <gagsl-...@xxxxxxxxxxxx>
wrote:
En Tue, 29 Jul 2008 14:56:08 -0300, qvx <qvx3...@xxxxxxxxx> escribi :
I don't have server listening on port 8084 but I can open socket to it
(and to many other ports, tested for all<8000)
Your example fails -as expected- on my PC running Python 2.5.2 + Windows
XP SP2. It may be something specific to your setup or your platform.
py> test(8084)
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "<stdin>", line 5, in test
File "<string>", line 1, in connect
socket.error: (10061, 'Connection refused')
--
Gabriel Genellina
Thanks for confirmation. There is a similar function in CherryPy
server which won't start anymore but it used to. I am currently
examining Windows and any recently installed software.
--
Tvrtko
.
- References:
- Re: I CAN connect socket to any localhost port but I shouldn't be able to
- From: Gabriel Genellina
- Re: I CAN connect socket to any localhost port but I shouldn't be able to
- Prev by Date: Re: Boolean tests [was Re: Attack a sacred Python Cow]
- Next by Date: Re: Boolean tests [was Re: Attack a sacred Python Cow]
- Previous by thread: Re: I CAN connect socket to any localhost port but I shouldn't be able to
- Next by thread: Native Code vs. Python code for modules
- Index(es):
Relevant Pages
|