Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Where do you find the port?

 
cardwell cupp
Ranch Hand
Posts: 66
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 243
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I think it depends on your DBMS. For MySQL the port is 3306.
 
Marcos Maia
Ranch Hand
Posts: 977
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 66
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks guys!
Cardwell (Greenest horn)
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic