Port in invalid when trying to connect to the database

Hi All,

I am getting this error when trying to connect to the database:
com.microsoft.sqlserver.jdbc.SQLServerException: The port number sqlserver:// is not valid.

This is how i am calling my method statement:

CustomKeywords.‘databaseconnection.FicaEasyEquities.connectDB’(‘jdbc:sqlserver://;databaseName=GT247data’, ‘equities’,

'eq1t13s', 'com.sqlserver.jdbc.Driver')  

This is how i wrote my Keywords:


public connection(String url, String user, String password, String DriverClassName){

def sqlconnection = Sql.newInstance(url, user, password, DriverClassName)


_am not sure what i did wrong there.

since 1433 is default port, try to not use it in your connection string or try use