Windows Develop Bookmark and Share   
 index > Windows Forms Data Controls and Databinding > Different SQL port
 

Different SQL port

Am i forced to use SQL port 1433 for applications between VB.net and SQL server? i would like to use a different port, is this possible? and where can i set it?

Also does anyone have a FAQ on encrypting the data betweent he application and the SQL server?

Many thanks

Ryan

ReLoad  Thursday, August 03, 2006 8:54 AM

As for sql server 2000, you can modifty the port as following steps.

1) Open "server network utility"

2) In the "Enable protocols" choose "TCP/IP" and click "properties"

3) You can set the port in the popup windows.

4) Open "client network utility"

5) Choose "Alias" tab and click "Add" button

6) In the window "Add network library configuration", choose the"network libraries" as "TCP/IP"

7) You can input the server alias and the server name and ensure "dynamically determine port" is clicked. That means if the default porthasn't been found, it can choose another port dynmaically.

You can infer the links.

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/architec/8_ar_cs_9okz.asp

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/instsql/in_runsetup_77g3.asp

Salalala  Thursday, August 03, 2006 10:01 AM
ReLoad wrote:

Am i forced to use SQL port 1433 for applications between VB.net and SQL server? i would like to use a different port, is this possible? and where can i set it?

Yes. UseSQL Server Configuration Manager.

vkh75  Thursday, August 03, 2006 9:40 AM

As for sql server 2000, you can modifty the port as following steps.

1) Open "server network utility"

2) In the "Enable protocols" choose "TCP/IP" and click "properties"

3) You can set the port in the popup windows.

4) Open "client network utility"

5) Choose "Alias" tab and click "Add" button

6) In the window "Add network library configuration", choose the"network libraries" as "TCP/IP"

7) You can input the server alias and the server name and ensure "dynamically determine port" is clicked. That means if the default porthasn't been found, it can choose another port dynmaically.

You can infer the links.

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/architec/8_ar_cs_9okz.asp

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/instsql/in_runsetup_77g3.asp

Salalala  Thursday, August 03, 2006 10:01 AM

thank you both for your prompt responses and i have set the SQL server to be the new port, im using visual stuido 2005, where do i set the configuration to the new port for my application?

im unsure what you mean by "client network utility"

many thanks

Ryan

ReLoad  Thursday, August 03, 2006 10:29 AM

You can find it in this way: Start -> All programs -> Microsoft SQL Server -> "client network utility" .

Salalala  Thursday, August 03, 2006 10:35 AM

ok ignore my Noobness.

i found the client network utility and set it as you described, but i get no connectivity at all now :(

Am i missing something?

thanks Again

Ryan

ReLoad  Thursday, August 03, 2006 11:04 AM

You can use google to search for other answers

Custom Search

More Threads

• Calculated Databind in a DateTimePicker
• DataGridView
• How Do I Sort A DataTable Using Related DataTable Values?
• DataGridView databound textbox column sort as if it's an int
• TabStop property seted on binding control reference doesn't work
• Populating a Checked List Box Control
• selecting items in listbox
• datagrid view problem --
• Table Adapters access design
• Displaying Excel Chart in a Winform