Solved

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

Posted on 2013-10-23
2
694 Views
Last Modified: 2013-10-24
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
Comment
Question by:gvilbis
2 Comments
 
LVL 6

Accepted Solution

by:
Spyder2010 earned 500 total points
ID: 39595531
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
 

Author Closing Comment

by:gvilbis
ID: 39597678
i define port in firewall windows
0

Featured Post

Watch Anatomy of a Wi-Fi Hack On-Demand

In less than a weekend, anyone with Internet access and some free time can become a Wi-Fi MitM to wreak havoc on your network. View our Wi-Fi Expert in an on-demand episode of our Secure Wi-Fi mini-series as he explores the motives, execution, and anatomy of a Wi-Fi hack.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

OfficeMate Freezes on login or does not load after login credentials are input.
Possible fixes for Windows 7 and Windows Server 2008 updating problem. Solutions mentioned are from Microsoft themselves. I started a case with them from our Microsoft Silver Partner option to open a case and get direct support from Microsoft. If s…
This tutorial will walk an individual through configuring a drive on a Windows Server 2008 to perform shadow copies in order to quickly recover deleted files and folders. Click on Start and then select Computer to view the available drives on the se…
This tutorial will walk an individual through the steps necessary to join and promote the first Windows Server 2012 domain controller into an Active Directory environment running on Windows Server 2008. Determine the location of the FSMO roles by lo…

680 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question