Server has SQL Server 2012 installed, but Windows Firewall blocks remote access. You do not need to turn off the firewall, you need to manually open all the ports used by SQL Server. A batch of processing was found on the Microsoft website, which can help us complete this very painful and repetitive work.
The ports to be opened are 1433, 1434, 4022, 135, 2383, 2382, 80, 443, 1434
@echo ========= SQL Server Ports ===== ============== @echo Enabling SQLServer default instance port 1433 netsh firewall set portopening TCP 1433 "SQLServer" @echo Enabling Dedicated Admin Connection port 1434 netsh firewall set portopening TCP 1434 "SQL Admin Connection" @echo Enabling conventional SQL Server Service Broker port 4022 netsh firewall set portopening TCP 4022 "SQL Service Broker" @echo Enabling Transact-SQL Debugger/RPC port 135 netsh firewall set portopening TCP 135 "SQL Debugger/RPC" @echo ========= Analysis Services Ports ============== @echo Enabling SSAS Default Instance port 2383 netsh firewall set portopening TCP 2383 "Analysis Services" @echo Enabling SQL Server Browser Service port 2382 netsh firewall set portopening TCP 2382 "SQL Browser" @echo ========= Misc Applications ============== @echo Enabling HTTP port 80 netsh firewall set portopening TCP 80 "HTTP" @echo Enabling SSL port 443 netsh firewall set portopening TCP 443 "SSL" @echo Enabling Port for SQL Server Browser Service's 'Browse' Button netsh firewall set portopening UDP 1434 "SQL Browser" @echo Allowing multicast broadcast response on UDP (Browser Service Enumerations OK) netsh firewall set multicastbroadcastresponse ENABLE Tested, SQL Server 2012 is valid. (also applies to 2008)
I am a fan of web page production, a lot of code needs to be tested and modified, uploading space te
Simply put, phpmyadmin is a mysql management tool. After installing the tool, you
. Recently servers are often subject to hacker intrusion. Intruder technology is more sophisticated,
Although Linux systems are much more secure than Windows, some simple security co
Win Server 2008 as a print server troubleshooting
Five steps to solve the "server exceeded the maximum allowed connections" error
Breaking distance limits Server remote management two skills
Server Purchasing Cheats: Choose what you want to know
Fix http 503 Service Unavailable Example
I took out the Windows 2003 IIS6 installer
No need to use a firewall to deal with CC attacks
Web server access failure troubleshooting skills
Automatic backup of website and database scripts under CentOS
Centos time synchronization method
Master teaches you to play personalized boot operation skills
Why is win10 always restarting? Win10 restart reason and solution
Win10 Build 10565 version of the Edge browser full update log list
How is my computer configured?
Mozilla Announces Win10 Browser Fire Concept Early Concept
Linux system apachectl command instructions
CF11 new version of biochemical death update hits M4A1-Death cool debut