• RSS
  • Twitter
  • FaceBook

Exchange Server Forums

Forums | Register | Login | My Profile | Inbox | RSS RSS icon | My Subscription | My Forums | Address Book | Member List | Search | FAQ | Ticket List | Log Out

opening smtp.gmail.com port 465

Users viewing this topic: none

Logged in as: Guest
  Printable Version
All Forums >> [Microsoft Exchange 2003] >> Server Security >> opening smtp.gmail.com port 465 Page: [1]
Login
Message << Older Topic   Newer Topic >>
opening smtp.gmail.com port 465 - 12.Oct.2010 10:49:24 AM   
Pearlyshells

 

Posts: 21
Joined: 20.Sep.2010
Status: offline
We have a new java, cloud based application that we are testing and we need to send /receive emails using the new service associated with it. We are getting errors when we send emails:

javax.mail.MessagingException: Could not connect to SMTP host: smtp.gmail.com, port: 465;
nested exception is:
java.net.ConnectException: Connection refused: connect


How can we resolve this?
Post #: 1
RE: opening smtp.gmail.com port 465 - 12.Oct.2010 11:34:07 AM   
de.blackman

 

Posts: 3542
Joined: 4.Apr.2005
From: Toronto, Canada
Status: offline
Have you configured your receive connector on Exchange to accept connections from the server running the Java application? How come it is trying to connect on port 465?

_____________________________

Ibrahim Benna - Microsoft Exchange MVP
Forum Moderator
Navantis
@IbrahimBenna

(in reply to Pearlyshells)
Post #: 2
RE: opening smtp.gmail.com port 465 - 13.Oct.2010 3:39:20 PM   
Pearlyshells

 

Posts: 21
Joined: 20.Sep.2010
Status: offline
I'm a novice to Exchange. How would I do this? Or, check if the connector is there.

(in reply to de.blackman)
Post #: 3
RE: opening smtp.gmail.com port 465 - 13.Oct.2010 4:29:59 PM   
de.blackman

 

Posts: 3542
Joined: 4.Apr.2005
From: Toronto, Canada
Status: offline
My mistake, I just re-read the posting and noticed that your Exchange is 2003 (not 2007\2010 as I had assumed)!

Starting from scratch, why is the application configured to use port 465 (and not the default 25)? Also check with the Exchange administrator and find out if they have configured relay on the Default SMTP virtual server.

_____________________________

Ibrahim Benna - Microsoft Exchange MVP
Forum Moderator
Navantis
@IbrahimBenna

(in reply to Pearlyshells)
Post #: 4
RE: opening smtp.gmail.com port 465 - 13.Oct.2010 4:36:08 PM   
Pearlyshells

 

Posts: 21
Joined: 20.Sep.2010
Status: offline
Thanks. I have asked and hope to get a reply soon

(in reply to de.blackman)
Post #: 5

Page:   [1] << Older Topic    Newer Topic >>
All Forums >> [Microsoft Exchange 2003] >> Server Security >> opening smtp.gmail.com port 465 Page: [1]
Jump to:

New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts


Follow TechGenix on Twitter