I need to connect to remote ip database, the ip has itself a port number associated with it. My database port is 1433.
I am using the following connection string in my application.properties
spring.datasource.url=jdbc:sqlserver://x.x.x.x:XXXX:1433;databaseName=test
I am getting connection error due to invalid port. How to do that?