• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 727
  • Last Modified:

how do i allowing to SQL port 2433 to go through firewall on Windows server 2012?

i have install SQL database on Windows server machine and i able to connect from outside the network to SQL DB only when firewall is down, how do i turn firewall up but allowing Port 2433 communicate with SQL server? (how do i open port 2433 in Windows server 2012?)

Thanks
Gvilbis
0
gvilbis
Asked:
gvilbis
1 Solution
 
Spyder2010Commented:
You could set the firewall rule using Powershell:

New-NetFirewallRule -DisplayName "Allow Port 2433" -Direction Inbound -LocalPort 2433 -Protocol TCP-Action Allow

Here's the MS TechNet article on the New-NetFirewallRule command
http://technet.microsoft.com/en-us/library/jj554908.aspx

Also, are you sure you have the right port for your SQL server?  By default, it uses port tcp/1433
0
 
gvilbisAuthor Commented:
i define port in firewall windows
0

Featured Post

Problems using Powershell and Active Directory?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

Tackle projects and never again get stuck behind a technical roadblock.
Join Now