Default port in SQL Server

1
0
-1

Hello

In a tomcat bundle if I modifiy the start script to start bonita server with NO port. Bonita will look for a specifict port by default?

Thanks

Comments

Submitted by pooravchaudhari on Fri, 06/12/2020 - 09:59

To clarify this a little further, here we are talking about the default port for connecting to the database. So, if no port is specified for SQL Server connection, will a default port be used instead?

2 answers

1
0
-1
Hi!

I have a similar problem, in my case, I don't want to specify any port in the 'database.properties' file 'db.server.port=' line, since I want to connect to my database that is in the sqlDBReal server.

If I delete the indicated line it gives me an error, how can I specify that I do not want any port?

thanks :)

1
0
-1

Hello.

If you don't configure the port in "setup/database.properties" file, it will be left empty in the jdbc url given to the engine. This might not work...

For optimal connection performance, you should set the portNumber when you connect to a named instance. This will avoid a round trip to the server to determine the port number. If both a portNumber and instanceName are used, the portNumber will take precedence and the instanceName will be ignored.

In any case, the port needs to be specified to work properly.

What is the use case exactly?

HTH.

Comments

Submitted by carloshc95 on Wed, 10/21/2020 - 12:28
Hi!

I have a similar problem, in my case, I don't want to specify any port in the 'database.properties' file 'db.server.port=' line, since I want to connect to my database that is in the sqlDBReal server.

If I delete the indicated line it gives me an error, how can I specify that I do not want any port?

thanks :)

Submitted by carloshc95 on Wed, 10/21/2020 - 12:29
Notifications