🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: borland.public.jbuilder.java.api
4 messages
4 total messages Started by George Wed, 18 Feb 2004 20:41
javax.mail api issue
#334
Author: George
Date: Wed, 18 Feb 2004 20:41
9 lines
1310 bytes
I have written a small Swing-based application that functions as a POP3
email client.  When I am connected to my ISP over dialup from home, this
program works fine and I am able to retrieve my email messages; however when
I use the program from work (where my internet connection is over the office
LAN), the attempt to connect fails with a MessagingException that is caused
by a java.net.ConnectException: Connect Timed Out.

Any ideas on what the issue is?
TIA
Re: javax.mail api issue
#335
Author: Gillmer J. Derge (TeamB)
Date: Wed, 18 Feb 2004 20:43
16 lines
1828 bytes
George wrote:
> When I am connected to my ISP over dialup from home, this
> program works fine and I am able to retrieve my email messages; however when
> I use the program from work (where my internet connection is over the office
> LAN), the attempt to connect fails with a MessagingException that is caused
> by a java.net.ConnectException: Connect Timed Out.

Some businesses configure their firewalls to block access to external 
POP servers, because they don't want their employees reading personal 
email at work.  Are you able to check your mail from work using a 
different program?  Try "telnet host.domain.com 110" to see if you can 
connect at all to the POP server.  It may not be your program's problem 
at all.

-- 
Gillmer J. Derge (TeamB)
Re: javax.mail api issue
#336
Author: George
Date: Wed, 18 Feb 2004 21:17
39 lines
2472 bytes
I tried to use Microsoft Outlook Express to connect to my ISP from work and
this is the error message I got:

The connection to the server has failed. Account:
'postoffice.worldnet.att.net', Server: 'postoffice.worldnet.att.net',
Protocol: POP3, Port: 110, Secure(SSL): No, Socket Error: 10060, Error
Number: 0x800CCC0E

I also tried to telnet to the mail server from work but it couldnt open a
connection either.
So I guess this is a firewall issue.

Excuse my networking ignorance but I'm curious: how does Yahoo Messenger
work on my PC at work?  That needs to connect externally too.

Thanks.

I tried to telnet to the ISP's mail server on port 110 but
"Gillmer J. Derge (TeamB)" <spam@gillmerderge.com> wrote in message
news:4033ce7c$2@newsgroups.borland.com...
> George wrote:
> > When I am connected to my ISP over dialup from home, this
> > program works fine and I am able to retrieve my email messages; however
when
> > I use the program from work (where my internet connection is over the
office
> > LAN), the attempt to connect fails with a MessagingException that is
caused
> > by a java.net.ConnectException: Connect Timed Out.
>
> Some businesses configure their firewalls to block access to external
> POP servers, because they don't want their employees reading personal
> email at work.  Are you able to check your mail from work using a
> different program?  Try "telnet host.domain.com 110" to see if you can
> connect at all to the POP server.  It may not be your program's problem
> at all.
>
> -- 
> Gillmer J. Derge (TeamB)
Re: javax.mail api issue
#337
Author: Gillmer J. Derge (TeamB)
Date: Wed, 18 Feb 2004 21:26
13 lines
1727 bytes
George wrote:
> Excuse my networking ignorance but I'm curious: how does Yahoo Messenger
> work on my PC at work?  That needs to connect externally too.

Each type of service uses a different port number.  For example, HTTP 
uses port 80, NNTP (news) is port 119, POP is port 110, etc.  Firewalls 
typically block specific ports, so blocking port 110 for POP is quite 
common.  They probably just don't have a filter on whatever port 
Messenger is using.  That's also the same reason you can probably reach 
external sites with your web browser -- it's a different port.

-- 
Gillmer J. Derge (TeamB)
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads