in reply to Re: Network Programming With Perl example 1
in thread Network Programming With Perl example 1

Hi,Thanks. I don't have a firewall on and I tried connecting via telnet;
Microsoft Telnet> o mx.hotmail.com:smtp Connecting To mx.hotmail.com:smtp...Could not open connection to the h +ost, on po rt 23: Connect failed Microsoft Telnet> o hotmail.com Connecting To hotmail.com...Could not open connection to the host, on +port 23: C onnect failed Microsoft Telnet>
Is this bad? And if the ISP is blocking this, there is NOTHING I can do at all so there's no point in reading the rest of the book?

Replies are listed 'Best First'.
Re^3: Network Programming With Perl example 1
by Popcorn Dave (Abbot) on May 01, 2005 at 22:52 UTC
    Have you tried checking with your ISP to see if they are blocking SMTP ports on your system? I know that my ISP does block me from sending mail using my work server via port 25. The server for my work account is specifically set to a different port to get around this problem. Might be what's happening to you.

    A lot of ISP's have done this to try to cut down on zombie spam being sent through their servers apparently.

    HTH!

    Useless trivia: In the 2004 Las Vegas phone book there are approximately 28 pages of ads for massage, but almost 200 for lawyers.
Re^3: Network Programming With Perl example 1
by fraterm (Scribe) on May 01, 2005 at 20:58 UTC

    You could always try to learn these things by using a shell account on a unix host that does have the ability to connect to these ports.

    Or even find out what you can do by accessing the ports to mailservers your network does allow.

    Squibbie Pooh Ski Doo.
Re^3: Network Programming With Perl example 1
by Anonymous Monk on May 02, 2005 at 00:02 UTC
    Hi, simply try the following in a dosbox: "telnet mx.hotmail.com 25" The syntax of telnet on win16/32-hosts is "telnet <host> <port> Regards, fritzo
      One caveat to this. mx.hotmail.com is not a valid host. Try mx1.hotmail.com (or mx2..4)
Re^3: Network Programming With Perl example 1
by 5mi11er (Deacon) on May 02, 2005 at 13:29 UTC
    I don't mean any disrespect, but I would guess that you don't _know_ whether or not you have a firewall blocking your connection attempts. If you have XP, you're probably running SP2, and even after turning the included firewall off, that doesn't guarantee that all firewalling within XP has been removed (I remember reading lots of "issues" at Tech Support Guys where after the FW was supposedly turned off, things were still broken).

    Are you using a firewalling router between your machine and the internet? That is yet another possible place that needs investigation.

    Generally speaking, those that definitely have a clue are those that post details about what firewalls they do have, and what they've done to open those up to allow the testing they are attempting to do.

    -Scott

Re^3: Network Programming With Perl example 1
by omega_monk (Scribe) on May 02, 2005 at 15:48 UTC
    As fritzo indicated, the error given back indicates that you are not connecting on port 25, but rather 23, which is telnet. The syntax you are using is not correct for Win*.

    Microsoft Telnet> o mx.hotmail.com 25 Connecting To mx.hotmail.com...Could not open a connection to host on +port 25 : Connect failed Microsoft Telnet>

    The connection failed due to my environment setup, I expected that, but the important point is that it failed on the correct port...