wood burning stoves 2.0*
The moose likes Linux / UNIX and the fly likes How To Open a Port in SunSolaris. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Engineering » Linux / UNIX
Bookmark "How To Open a Port in SunSolaris." Watch "How To Open a Port in SunSolaris." New topic
Author

How To Open a Port in SunSolaris.

Somnath Mallick
Ranch Hand

Joined: Mar 04, 2009
Posts: 477
Hi Everyone,

I have created a JavaMail API and trying to make it work in Sun OS. But when i try to run the code I get the error:


When i ran the command

I did not see Port 25 on the list. So it could be that port 25 is not active. If so, how do i make port 25 open?
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 16160
    
  21

Port 25 is the SMTP mail port. The host indicated is either not running an SMTP server (such as sendmail) or has it blocked by a firewall.


Customer surveys are for companies who didn't pay proper attention to begin with.
Somnath Mallick
Ranch Hand

Joined: Mar 04, 2009
Posts: 477
When i run the command nslookup, i get the address:


Isn't that the SMTP server?
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How To Open a Port in SunSolaris.