U can change the tomcat port no  in the server.xml file

Imagination is More Important than Knowledge
Cheers !!!
MSM


-----Original Message-----
From: Sagine E.Ferrus [mailto:[EMAIL PROTECTED]]
Sent: Monday, May 20, 2002 7:46 PM
To: [EMAIL PROTECTED]
Subject: newbie


I'm trying to have my jsp page connect to a postgresql database.  But when i
try to view the page it stalls basically time's out, at this line
Connection
myConn=DriverManager.getConnection("jdbc:postgresql://192.168.1.30:8080/data
baseName?user=postgres&password=postgres");
is it the port? cause obviously 8080 is the tomcat port and it wont work at
all if i put 5432 which is the postgresql port.
Help
Sagine

_____________________________________________________________
Visit our Caribbean Community at http://www.islanderonline.com

_____________________________________________________________
Promote your group and strengthen ties to your members with
[EMAIL PROTECTED] by Everyone.net  http://www.everyone.net/?btn=tag

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST
DIGEST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://archives.java.sun.com/jsp-interest.html
 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.jsp
 http://www.jguru.com/faq/index.jsp
 http://www.jspinsider.com
**************************************************************************
This email (including any attachments) is intended for the sole use of the
intended recipient/s and may contain material that is CONFIDENTIAL AND
PRIVATE COMPANY INFORMATION. Any review or reliance by others or copying or
distribution or forwarding of any or all of the contents in this message is
STRICTLY PROHIBITED. If you are not the intended recipient, please contact
the sender by email and delete all copies; your cooperation in this regard
is appreciated.
**************************************************************************

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://archives.java.sun.com/jsp-interest.html
 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.jsp
 http://www.jguru.com/faq/index.jsp
 http://www.jspinsider.com

Reply via email to