wood burning stoves
The moose likes JDBC and Relational Databases and the fly likes Where do you find the port? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA Java SE 8 Programmer I Study Guide this week in the OCAJP 8 forum!
JavaRanch » Java Forums » Databases » JDBC and Relational Databases
Bookmark "Where do you find the port?" Watch "Where do you find the port?" New topic
Author

Where do you find the port?

cardwell cupp
Ranch Hand

Joined: Aug 16, 2001
Posts: 66
Thanks everyone...so sorry that I have posted twice...this questions should be quick.
When configuring the url, it should have the format as follows
jdbc:driverName://host:port/databaseName
Where can you find out what the port is? What is the port?
Thanks you tons
Cardwell (Boy is my face green)
Stanley Tan
Ranch Hand

Joined: May 17, 2001
Posts: 243
I think it depends on your DBMS. For MySQL the port is 3306.
Marcos Maia
Ranch Hand

Joined: Jan 06, 2001
Posts: 977
Default port for oracle is 1521 and for mssqlserver is 1433 but the DBA can configure the database to listen in any free port available so it�s better to ask him, or if you have installed the DB take a look at the documentation or at the admin tools, also if you�re running a different DB the default it�s problably another one.
regards.
Marcos Maia
cardwell cupp
Ranch Hand

Joined: Aug 16, 2001
Posts: 66
Thanks guys!
Cardwell (Greenest horn)
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Where do you find the port?
 
jQuery in Action, 3rd edition