Is it possible to configure the port to connect to the SQL Server?

Discussion of open issues, suggestions and bugs regarding usage of dbExpress drivers for SQL Server in Delphi and C++Builder
Post Reply
Romullo
Posts: 7
Joined: Mon 22 Oct 2007 18:08

Is it possible to configure the port to connect to the SQL Server?

Post by Romullo » Mon 22 Oct 2007 20:20

Hi,

I need to connect to a server using a port different to the default SQL Server port. Is it possible? I have the driver version 3.0.4.0.

Thanks.

Antaeus
Posts: 2098
Joined: Tue 14 Feb 2006 10:14

Post by Antaeus » Tue 23 Oct 2007 14:06

There is no way to specify the port number in DbxSda. What reason do you need it for?

Romullo
Posts: 7
Joined: Mon 22 Oct 2007 18:08

Post by Romullo » Tue 23 Oct 2007 15:15

I will need to call a stored procedure located in a server that is configured with a different port.
Well, if I really need this on DBX, I'll come back this forum to come up with this parametrization.
Thanks.

Romullo
Posts: 7
Joined: Mon 22 Oct 2007 18:08

Post by Romullo » Mon 05 Nov 2007 20:07

It's possible to configure the port configuring the server IP like that:

127.0.0.1,8888

where 8888 is the port.

It's worked on SQL Server 2000.

Post Reply