3

I require our firewall to allow ODBC connection from clients to the MS SQL Server.

Which ports should be opened for this?

Gaff
  • 18,569
  • 15
  • 57
  • 68
fluf
  • 201
  • 1
  • 3
  • 8

3 Answers3

6

We opened these ports and that did the trick. We can ping the server and create an odbc connection to the server:

1433 (ODBC)
icmp 
netbios (UDP ports 137, 138 & TCP 139 for NetBIOS over TCP)
DavidJ
  • 123
  • 2
  • 6
fluf
  • 201
  • 1
  • 3
  • 8
4

According to MSDN:

Default instances of the Database Engine use TCP port 1433 by default.
Siim K
  • 7,832
  • 6
  • 51
  • 70
-1

Server: "IPAddress\NameofService,Port"

You need to use comma, after name of service, example: "localhost\MSSQLSERVER,1433"

fegomes
  • 1
  • 1