connect to SQL port other that 1433

facade
Member Posts: 57
Hello
Does anybody know how to connect to sqlserver\instance and different port.
I'm trying to create a new db on sqlserver\instance:port (ie SQL\CLIENT:5555) but that doesn't seem to work ?
I've tried to telnet SQL\CLIENT 5555 - and this works.
Does anybody know how to connect to sqlserver\instance and different port.
I'm trying to create a new db on sqlserver\instance:port (ie SQL\CLIENT:5555) but that doesn't seem to work ?
I've tried to telnet SQL\CLIENT 5555 - and this works.
0
Comments
-
Host i modified
sql.ip.addr.ess SQL\instance
What should I do with services - it's sql we're talking about?0 -
host:
sql.server.ip.address choosename
services:
choosename 5555/tcp #somekindofdescription
choosename = just a name that you want to use in Navision. When using this name, navision will look in your host file to konw the IP, and in the services file to know the port no.
Hope this helps...0 -
Ok thanks I'll try it I though it applied only to navision server0
-
You can always try to change the settings on the level of your SQL Server.
Use the "Server Network Utility" in your SQL Server menu.
Choose properties of the TCP/IP Protocol (should be in the "Enabled Protocols" list) and change the "Default Port" number.
Restart your SQL server and during the first communication from the Navision Client to the SQL server, the SQL server will "push" the correct Port number to the client.
Note: All communication to your SQL server over TCP/IP will use this port.
RegardsNow, let's see what we can see.
...
Everybody on-line.
...
Looking good!0 -
I have similar problem... MS SQL server is installed on port 2433. But problem is that I am connected on terminal server in DMZ and I cannot use the Server list (it is empty).
facade: Have you solved the problem?0 -
connect to your server with the following notation (place this in the server name field of your navision client when connectin to the db):
<ip adress server>:<port number>
eg:
10.0.0.1:2433Now, let's see what we can see.
...
Everybody on-line.
...
Looking good!0 -
Use Client Network utility to define an alias for it with different port. Or better yet change the default SQL port on Client Network Utility to your port.
Connecting with ip:port - does not work for SQL - you cannot access SQL like this.0 -
really?
I connect to a Navision SQL DB every day with this notation.Now, let's see what we can see.
...
Everybody on-line.
...
Looking good!0 -
I'll try to see what you guys see ...
laters.0 -
Alll is working ok. Problem was that server was set to "Hidden"... :whistle:0
-
I tried all possibilities I could think of to connect to a SQL Server on a different port. Nothing worked, even tough I knew the server accepted connections on that port, since an external tool (Java) could communicate. Finally, the help to SQL Client configuration, creating aliases using TCP/IP gave me the hint:
The syntax istcp:<servername>[\<instancename>],<port>
and even in NAV (2009 R2 at least) the port needs to be separated by a comma, not a colon!1 -
I know that this is an old thread, but I spent a lot of time trying to connect NAV 2016 to SQL 2016 with a non-default port, and the only syntax that worked (for SSMS, RTC and NAV Development Environment) is the one mentioned by vaprog, that is tcp:<servername>[\<instancename>],<port>
It still doesn't work for NAV Development Environment from a different server, but that may be due to some port being blocked.
So, thanks vaprog.Alastair Farrugia0
Categories
- All Categories
- 73 General
- 73 Announcements
- 66.6K Microsoft Dynamics NAV
- 18.7K NAV Three Tier
- 38.4K NAV/Navision Classic Client
- 3.6K Navision Attain
- 2.4K Navision Financials
- 116 Navision DOS
- 851 Navision e-Commerce
- 1K NAV Tips & Tricks
- 772 NAV Dutch speaking only
- 617 NAV Courses, Exams & Certification
- 2K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 320 Dynamics CRM
- 111 Dynamics GP
- 10 Dynamics SL
- 1.5K Other
- 990 SQL General
- 383 SQL Performance
- 34 SQL Tips & Tricks
- 35 Design Patterns (General & Best Practices)
- 1 Architectural Patterns
- 10 Design Patterns
- 5 Implementation Patterns
- 53 3rd Party Products, Services & Events
- 1.6K General
- 1.1K General Chat
- 1.6K Website
- 83 Testing
- 1.2K Download section
- 23 How Tos section
- 252 Feedback
- 12 NAV TechDays 2013 Sessions
- 13 NAV TechDays 2012 Sessions