Create an account

Very important

  • To access the important data of the forums, you must be active in each forum and especially in the leaks and database leaks section, send data and after sending the data and activity, data and important content will be opened and visible for you.
  • You will only see chat messages from people who are at or below your level.
  • More than 500,000 database leaks and millions of account leaks are waiting for you, so access and view with more activity.
  • Many important data are inactive and inaccessible for you, so open them with activity. (This will be done automatically)


Thread Rating:
  • 348 Vote(s) - 3.59 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How do you specify a different port number in SQL Management Studio?

#1
I am trying to connect to a Microsoft SQL 2005 server which is not on port 1433. How do I indicate a different port number when connecting to the server using SQL Management Studio?
Reply

#2
You'll need the SQL Server Configuration Manager. Go to Sql Native Client Configuration, Select Client Protocols, Right Click on TCP/IP and set your default port there.
Reply

#3
Using the client manager affects all connections or sets a client machine specific alias.

Use the comma as above: this can be used in an app.config too

It's probably needed if you have firewalls between you and the server too...
Reply

#4
On Windows plattform with server execute command:

netstat -a -b


look for `sql server` processes and find port f.e 49198

Or easier. Connect with dbvisualizer, run `netstat -a -b` find dbvis.exe process and get port.
Reply

#5
`127.0.0.1,6283`

Add a comma between the ip and port
Reply

#6
If you're connecting to a named instance and UDP is not available when connecting to it, then you may need to specify the protocol as well.

Example: `tcp:192.168.1.21\SQL2K5,1443`
Reply

#7
Another way is to set up an alias in Config Manager. Then simply type that alias name when you want to connect. This makes it much easier and is more preferable when you have to manage several servers/instances and/or servers on multiple ports and/or multiple protocols. Give them friendly names and it becomes much easier to remember them.
Reply



Forum Jump:


Users browsing this thread:
1 Guest(s)

©0Day  2016 - 2023 | All Rights Reserved.  Made with    for the community. Connected through