This week's book giveaway is in the Design forum.
We're giving away four copies of Building Microservices and have Sam Newman on-line!
See this thread for details.
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 Building Microservices this week in the Design 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

Where do you find the port?

cardwell cupp
Ranch Hand

Joined: Aug 16, 2001
Posts: 66
Thanks sorry that I have posted twice...this questions should be quick.
When configuring the url, it should have the format as follows
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.
Marcos Maia
cardwell cupp
Ranch Hand

Joined: Aug 16, 2001
Posts: 66
Thanks guys!
Cardwell (Greenest horn)
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link:
subject: Where do you find the port?
It's not a secret anymore!