java.net.BindException: Address Already in use:connect

From: BB (mahdlahd_at_eircom.net)
Date: 05/30/04


Date: Sun, 30 May 2004 16:19:42 +0100

In several of my JSP pages I get this error:-
    
java.net.BindException: Address Already in use:connect

I cant think why, I close off my database connections
when finished, the code I use to connect is: -

public Connection getConn()
{
           try
           {
                 Class.forName("org.gjt.mm.mysql.Driver");
                 return(DriverManager.getConnection(url, us, pas));
           }
           catch(Exception e)
          {
                e.printStackTrace();
                return null;
          }
}
Thanks
Colum