Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Perl > Perl Misc > Problem with IO::Socket::INET and pop

Thread Tools

Problem with IO::Socket::INET and pop

Posts: n/a
"A. Sinan Unur" <(E-Mail Removed)> wrote in message news:<Xns9432BF749A82asu1cornelledu@>. ..
> Removed) (Joe) wrote in
> news:(E-Mail Removed) m:
> > Ben Morrow <(E-Mail Removed)> wrote in message
> > news:<boueo5$9cp$(E-Mail Removed)>...
> >> (E-Mail Removed) (Joe) wrote:
> >> > # Connect to the POP server using port 110
> >> > $SocketHandle = IO::Socket::INET->new (Proto=>"tcp",
> >> > PeerAddr=>$ServerName, PeerPort=>$Port);

> are you sure $Port == 110 at this point?
> ...
> >> > The web hosting company keeps telling me that they didn't change
> >> > anything and that they can connect fine via telnet ServerName 110.

> ...
> > For $! I get 'Bad file number' and for $@ 'IO::Socket::INET:
> > Connection refused'

> That means your script could not connect to $ServerName on that port.
> Could it be a firewall issue? This does not seem to have much to do with
> Perl.
> Sinan.

Yeah ... it used to work with port 110 for the POP server.

The thing is that Outlook can connect fine and it is using the same
protocol and port to connect to that server.

I do sit behind a firewall but if the machine on which the script runs
does not have a firewall there should not be a problem ... right?
Maybe I'm wrong and even if the page that calls the script is behind a
firewall there is a problem.

Reply With Quote

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Why are "Array#push" and "pop" not "push!" and "pop!"? samppi Ruby 27 12-05-2007 07:24 AM
How to do server-side processing and then display pop-up with pop-up blocker enabled ASP .Net 2 02-04-2006 06:03 PM
How to do server-side processing and then display pop-up with pop-up blocker enabled Javascript 2 02-04-2006 06:03 PM
pop up prevention problem; for wanted pop ups joe doe Firefox 2 03-03-2005 08:08 AM
Pop-up to Buy Pop-up software William Young Computer Support 4 01-24-2004 12:28 AM